Local Date / Time
Posted on 2016-08-18
In php programs, I have for a long time used this:
To get the date / time in Pacific Time, USA. Other parameters for US Central, etc.
I am doing some custom pages on a word press site; it does not seem to work.
I seem to get GMT.
Does that not work in WordPress?
The site is hosted at WPEngine. Could that be the problem? I think they operate their servers on GMT
Of course I can "manually" convert to Pacific Time by adding 8 hours.