Posted by Marcus on 12/17/52 11:54
Snef wrote:
> date() returns server time. gmdate returns GMT (UTC) time.
>
> All the dates in my database are stored as GMT/UTC and I display the
> users local time onscreen.
>
Thanks for the reply. In my initial post I said I was planning on
setting the server time to GMT, so in that case date() and gmdate()
would be the same, yes?
Also, from what you are saying, does that mean there is no difference
between GMT and UTC as far as timestamps are concerned? Thanks.
[Back to original message]
|