Hi i am developing a website where user will select the timezone from a dropdown. And in my database the datetime are stored in UTC format. How i can display his profile all other things as per timezone selected by user.
A:
You can store the timezone offset for the user and apply that to the UTC time each time you want show the date/time.
Lloyd
2009-05-14 13:20:37
The offset will depend on DST too.
Gonzalo
2009-11-14 15:23:31