I have date 2012-04-02 10:01:00 am I want to show this date in with PST/CST at tail of this date like 2012-04-02 10:01:00 PST.
Is there any way to convert normal date into this format ?
I have date 2012-04-02 10:01:00 am I want to show this date in with PST/CST at tail of this date like 2012-04-02 10:01:00 PST.
Is there any way to convert normal date into this format ?
You can get this by adding T abbreviation, like:
date('Y-m-d H:i:s T')
//date('Y-m-d H:i:s T', strtotime('2012-01-12 12:30:45')); // for specific date