Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

Error in JS work

  • 2 réponses
  • 1 a ce problème
  • 15 vues
  • Dernière réponse par sanickson

more options

Windows 7. Time zone is UTC+10:00 RTZ 9. Command: new Date(2014, 0, 1) Result: Date {Tue Dec 31 2013 23:00:00 GMT+1000}.

Windows 7. Time zone is UTC+10:00 RTZ 9. Command: new Date(2014, 0, 1) Result: Date {Tue Dec 31 2013 23:00:00 GMT+1000}.

Toutes les réponses (2)

more options

Exactly one hour. Hmm, could it be a Daylight Savings / Summer Time issue?

more options

Maybe. I think that problem became relevant after windows update time zone. FireFox 33.1 installed On my friend's computer and on my computer too. But his time zone is UTC+10:00. His didn't installed windows time zone update and his result of command "new Date(2014, 0, 1) " is "Date {Wed Jan 01 2014 00:00:00 GMT+1000}"