I have a simple date time in the format 10/20 4:30PM. I want it to display in the format
10/24 1:30PM -007. I am saying date('Y-m-d H:i:sT', $time_recieved) assuming T is for timezone. But It is still not giving the time zone. What might be the reason? Is there any other format I am missing?
I have a simple date time in the format 10/20 4:30PM . I want
Share
What you want is
OnotTI believe.Check the PHP date page for all the format listings possible.
http://php.net/manual/en/function.date.php