Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
JavaScript
/
Date
A daily meeting must remain at 09:00 in America/New_York. Why is adding 86,400,000 millis…
from Date
Node 24
intermediate
1 min
A daily meeting must remain at 09:00 in America/New_York. Why is adding 86,400,000 milliseconds insufficient?
It adds an elapsed 24 hours, which can land at a different local hour across a daylight-saving transition.
Date stores timestamps in seconds, so the constant uses the wrong unit.
UTC days always contain either 23 or 25 hours.
Intl.DateTimeFormat changes the underlying Date when it formats it.
Check
Ask AI about this kata
Report an error
next kata
What information does a valid Date object retain?
Quiz
A new version is available
Reload