Expand description
Date/time utilities - port of Modules/datetime.c
Provides strftime builtin and EPOCHSECONDS/EPOCHREALTIME/epochtime parameters.
Structs§
- Strftime
Options - Options for strftime builtin
Functions§
- builtin_
strftime - Execute the strftime builtin
- convert_
timezone - Convert between timezones
- epoch_
realtime - Get current time as high-resolution epoch time (float)
- epoch_
seconds - Get current time as epoch seconds
- epoch_
time - Get current time as [seconds, nanoseconds] array
- format_
duration - Format a duration in human-readable form
- get_
datetime_ info - Get current date/time info as a hashmap (for TZ-aware operations)
- strftime
- Format time using strftime-style format
- strptime
- Parse a time string using strptime-style format