Re: Time Zone Variables

From: Date: Fri, 01 Dec 2000 09:23:33 +0000
Subject: Re: Time Zone Variables
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-28177@lists.php.net to get a copy of this message
How do you think I can go about doing that? ----- Original Message ----- From: "Richard Lynch" <richard@zend.com> To: <php-general@lists.php.net> Sent: Friday, December 01, 2000 9:43 AM Subject: Re: [PHP] Time Zone Variables > Not really. > > The browser does not, by default tell the web-server what their time-zone or > anything like that is. > > You can use Javascript on a preceding page to send the current time on their > computer's clock, and if you are willing to rely on (A) Javascript and (B) > user's clocks, it can work for most users, but not all. > > Some sites ask you your time zone when you register, and store that -- Of > course, if the person travels, that's rather useless. > > You might be best off just showing everything in GMT and let the user deal > with it. Mucking with time zones is generally far more trouble than it > looks like at first. > > ----- Original Message ----- > From: <techzeus@pacific.net.sg> > Newsgroups: php.general > Sent: Thursday, November 30, 2000 3:43 AM > Subject: [PHP] Time Zone Variables > > > Hi there, > > Is there a variable that can determine the user's timezone? > > I want to make a script to convert news postings to the person's time in > that timezone. > > > David Chua, > CEO, Frozened.com > PAGN.NET > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#28177) next »