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" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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:[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