Re: Upgrading to internal DateTime

From: Date: Fri, 05 Dec 2008 10:16:00 +0000
Subject: Re: Upgrading to internal DateTime
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-42113@lists.php.net to get a copy of this message
Hi Derick. Derick Rethans wrote:
This is not the correct thing to do, as you will lose timezone information. The W3C format only stores UTC offsets (in the form of +00:00). However, that same UTC offset can be used in different areas with different DST changes. Best thing is to store in Unix timestamps.
And how does a unix timestamp preserve timezone information? Or am I completely off track? Regards, Karsten

« previous php.internals (#42113) next »