Re: gmdate()

From: Date: Sat, 07 Sep 2002 07:38:55 +0000
Subject: Re: gmdate()
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-115593@lists.php.net to get a copy of this message
I got an idea to solve my problem. I'll make client side calculation. I'll set the user pick a future time and then calculate from the client side how many minutes exists between these two times, then pass the minutes difference to the server. "Naintara Jain" <naintara@del6.vsnl.net.in> wrote in message news:EOEHLGJAKGKHNFGBODPCEEDDGKAA.naintara@ndf.vsnl.net.in... > 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 > > > >

« previous php.general (#115593) next »