A unix timestamp is in UTC, offsets are stored and applied seperately. See tzset(3).
Unless someone has misconfigured their system, that is. On Fri, Dec 5, 2008 at 10:16 AM, Karsten Dambekalns <[EMAIL PROTECTED]> wrote: > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php