i have a date format like this Tue, 23 Dec 2014 02:24:00 +0000 ..
i would like to convert that using php to something like this August 16, 1998, 03:00:00
any idea on how to do this?
Thank you!
i have a date format like this Tue, 23 Dec 2014 02:24:00 +0000 ..
i would like to convert that using php to something like this August 16, 1998, 03:00:00
any idea on how to do this?
Thank you!
just use date
and strtotime
built-in function :
$date=date("F j, Y, H:i:s", strtotime("Tue, 23 Dec 2014 02:24:00 +0000 ") );
var_dump($date);
Note: Always read the documentation