Re: gmdate()

From: Date: Sat, 07 Sep 2002 20:04:27 +0000
Subject: Re: gmdate()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-115619@lists.php.net to get a copy of this message
Huh? I think date() will return different values, but gmdate() will not, since it returns GM time. Lallous, maybe it is something about summertime/wintertime? Timo Am Freitag den, 6. September 2002, um 16:36, schrieb Naintara Jain:
lets say, ServerOne has TimeZone GMT+2 ServerTwo has TimeZone GMT+3 the gmdate() will return diff values for the same timestamp. essentially there will be a diff of 1 hour in the return values from these two servers. -Naintara -----Original Message----- From: php-general-return-115477-naintara=del6.vsnl.net.in@lists.php.net [mailto:php-general- return-115477-naintara=del6.vsnl.net.in@lists.php.ne t]On Behalf Of lallous Sent: Friday, September 06, 2002 8:55 PM To: php-general@lists.php.net Subject: Re: [PHP] gmdate() I don't own the server, and the server is probably set up correctly as it is a web hosting server. anyway, how should that RedHat 6 server be set up ? Elias "Marek Kilimajer" <kilimajer@webglobe.sk> wrote in message news:3D78B76B.2010203@webglobe.sk...
The server needs to be set up correctly - it needs to know what time zone it is in and if the BIOS time is GMT or local. lallous wrote:
Isn't the gmdate() supposed to return the same value when run from two different timezones? I run it on GMT+2 system and EDT system, and I get 1 hour difference, please advise. Elias
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#115619) next »