Skip to main content

Module date

Module date 

Source
Expand description

The one date format a sender writes: IMF-fixdate (RFC 9110 §5.6.7).

Days to a civil date by Howard Hinnant’s civil_from_days (public domain, https://howardhinnant.github.io/date_algorithms.html), inline, so that the crate needs no date dependency.

Functions§

imf_fixdate
Writes unix_secs (seconds since 1970-01-01T00:00:00Z) as an IMF-fixdate, Sun, 06 Nov 1994 08:49:37 GMT: 29 octets.