Re: How to show proper time to users from around the world

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, August 29, 2007 2:24 am, Hemanth wrote:
> Is there a solution to showing the proper time and date at user
> browsers
> and also recording proper USER times in the database operations in
> mysql

Not really.

You can use Javascript to get what the user's clock SAYS is the
date/time, but WAY too many users have their clocks set wrong, and
you'll never fix that.

You can ask them where they live, or ask them to input their own
time-zone.

Traveling users may prefer to use UTC or something as well, rather
than try to figure out what time-zone they are in this minute (cough
Indiana cough).

-- 
Please vote for this great band:
http://acl.mp3.com/feature/soundandjury/?band=COMPANY-OF-THIEVES

Requires email confirmation.
One vote per day per email limit.
Obvious ballot-stuffing will be revoked.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux