Re: Timezone offset differences

From: Date: Thu, 18 Jan 2001 03:36:30 +0000
Subject: Re: Timezone offset differences
Groups: php.dev 
Request: Send a blank email to php-dev+get-44441@lists.php.net to get a copy of this message
Quoting Jim Winstead <jimw@apache.org>: > i didn't check how date('Z') is defined (do you add it to local time to get > UTC or subtract it?) but it may be that systems where struct tm has a > tm_gmtoff member and systems that use the timezone global may > define it different ways. > > they should be made consistent, and the date() documentation updated to > tell exactly which way we've made it consistent. :) For the record, I reported a similar problem on win32 a while ago, though it was with date('r') (rfc822 date), but showed the same thing - wrong sign for the timezone offset. -chuck -- Charles Hagenbuch, <chuck@horde.org> Entropy. It's what's for dinner.

« previous php.dev (#44441) next »