Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting if we are on Daylight Saving Time
Message
From
29/03/2012 11:01:38
 
 
To
29/03/2012 00:16:58
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01539624
Message ID:
01539677
Views:
49
You hit a common error. Don't use DateTime, but UTCDateTime.

http://msdn.microsoft.com/en-us/library/ms973825.aspx

>There is a function Date.getTimezoneOffset() which returns the number of offset minutes from GMT, which takes care automatically of the Daylight Saving Time. However, if I would like to know if the browser is being executed from a PC where the Daylight Saving Time is in effect, would there be a way to know it?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform