|P is for Practical|
Time Zone conflict betwen clients in a web applicationby py_201 (Acolyte)
|on Dec 15, 2009 at 06:16 UTC||Need Help??|
py_201 has asked for the
wisdom of the Perl Monks concerning the following question:
I have to enter user's time in my database and show it to them next time they login as last login time. How can i go about it in perl?
what i have thought about it is that i can take localtime of server and convert it to some standerd time and store it in database. then while retrieving the time, i can take the client time zone and convert my standerd time to that time zone and show it to user.
But the problem is how can i convert localtime to standerd time? and how can i get user's time zone automatically.