Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Error in JS work

  • 2 iimpendulo
  • 1 inayo le ngxaki
  • 15 views
  • Impendulo yokugqibela ngu 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}.

All Replies (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}"