Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Error in JS work

  • 2 件の返信
  • 1 人がこの問題に困っています
  • 15 回表示
  • 最後の返信者: 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}.

すべての返信 (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}"