Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting if we are on Daylight Saving Time
Message
De
29/03/2012 11:01:38
 
 
À
29/03/2012 00:16:58
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01539624
Message ID:
01539677
Vues:
50
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform