Skip to main content

Module timestamp

Module timestamp 

Source

Functions§

add_calendar_months
Whole calendar months later, at the same time of day, on the month’s last day when it is shorter (31 January plus one month is 28 or 29 February), as billing anchors move.
format_rfc3339
format_rfc5322
The Date header form of RFC 5322: Thu, 29 Oct 2026 10:00:00 +0000.
parse_duration_ms
30s, 500ms, 2m or a bare number of seconds, as milliseconds.
parse_rfc3339
Reads YYYY-MM-DDTHH:MM:SS, optional fractional seconds, and Z or a +HH:MM offset.