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: [EMAIL PROTECTED] > [mailto:php-general- > [EMAIL PROTECTED] > t]On Behalf Of lallous > Sent: Friday, September 06, 2002 8:55 PM > To: [EMAIL PROTECTED] > 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" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php