Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42113 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24683 invoked from network); 5 Dec 2008 10:36:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Dec 2008 10:36:05 -0000 X-Host-Fingerprint: 84.140.237.155 p548CED9B.dip.t-dialin.net Received: from [84.140.237.155] ([84.140.237.155:27711] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/F6-20960-46FF8394 for ; Fri, 05 Dec 2008 05:16:05 -0500 Message-ID: To: internals@lists.php.net Date: Fri, 05 Dec 2008 11:16:00 +0100 User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 References: <4938C8FB.6010509@lsces.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 84.140.237.155 Subject: Re: [PHP-DEV] Upgrading to internal DateTime From: karsten@typo3.org (Karsten Dambekalns) 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