[Javascript] Javascript and Time Zones

Terry Riegel riegel at clearimageonline.com
Wed Oct 26 14:21:21 CDT 2005


Hello,

I have a web based TimeClock application. The time for punching in  
and out is stored on the server, I am looking for a simple way to  
display the time on the web page that would account for TimeZones and  
Daylight savings time. I wonder if there is a way to store the time  
in a hidden field as UTC, then let Javascript display it with the  
appropriate TimeZone / Daylight Savings Time adjustment?

My solution may not be the best way of solving the problem so I am  
open to any ideas on how I might accomplish this with Javascript or  
otherwise.


Terry Riegel



More information about the Javascript mailing list