tags:

views:

108

answers:

1

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
The offset will depend on DST too.
Gonzalo