How to convert atom date to date in PHP?