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.