|
Posted by Snef on 12/17/24 11:54
As far as i have read, UTC is the 'new' GMT. When you see the output of gmdate,
you will see that the result is in UTC.
Snef
Marcus wrote:
> 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.
Navigation:
[Reply to this message]
|