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

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

 



Hemanth wrote:

> Hi friends,
> 
> 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

I think it's better to record UTC times only, but display them according
to the users timezone.  You can do that by telling mysql which timezone
you want per session.

http://dev.mysql.com/doc/refman/5.0/en/time-zone-support.html


/Per Jessen, Zürich

--
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