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
/
CS foundations
/
Dates and time
Which clock should control a five-second in-process timeout?
from Dates and time
Python 3.14
intermediate
2 min
Which clock should control a five-second in-process timeout?
A monotonic clock, with a separate UTC timestamp only if logging needs one
Repeated datetime.now(UTC) readings because UTC cannot jump
A local calendar clock so daylight-saving changes are included
Epoch milliseconds divided by the current UTC offset
Check
Ask AI about this kata
Report an error
next kata
Which model best preserves a customer birthday entered as 2026-04-05?
Quiz
A new version is available
Reload