I receive this date format from facebook and google docs:
2011-02-25T10:55:25+0000
How can I convert it to something like
25/02/2011 10:55:25
<?php
$date = new DateTime('2011-02-25T10:55:25+0000');
print $date->format('d/m/Y H:i:s');
?>
Please don't forget to set the correct time zone with this example. Refer to the datetime documentation on the php.net site for more details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With