How to convert a date like this: 2012-07-16 01:00:00 +00 (it's in the ... Use DateTime and DateTimeZone . $date = new DateTime('2012-07-16 ...
stackoverflow.com