How to Convert ISO date to datetime or more readable format?

You can convert ISO datev to datetime Using below code

$datetime=date( “Y-m-d H:i:s”, strtotime(“2010-06-23T20:47:48-04:00”) );

echo datetime;

Leave a Reply

Your email address will not be published. Required fields are marked *