I have time data in mySQL in the format of %Y-%m-%d %H:%M:%S as UTC +0 format. And I want to display the time data adjusting for the local computer tha user is using.
For example: The data is 2012-05-29 15:00:00 Then the time should be shown to a user in East time 2012-05-29 11:00:00 (applying daylightsaving, UTC -4hour) and for the westcoast should displayed 2012-05-20 08:00:00 (URC -7hour)
Any scripts for converting this? either PHP or Javascript is good.Thanks!