book/protocols/synit/time
Time stamps
Various protocols rely on the definition of a time stamp type,
Stamp, compatible with the suggested
Preserves convention for dates and times.
Stamp = <rfc3339 @value string> .
From the Preserves convention document:
Dates, times, moments, and timestamps can be represented with a Record with label
rfc3339having a single field, aString, which MUST conform to one of thefull-date,partial-time,full-time, ordate-timeproductions of section 5.6 of RFC 3339. (Indate-time, “T” and “Z” MUST be upper-case and “T” MUST be used; a space separating thefull-dateandfull-timeMUST NOT be used.)
Copyright © 2021–2023 Tony Garnock-Jones, CC BY 4.0
