Skip to main content

Module date

Module date 

Source

Structs§

DateConfig
Configuration for the date command.

Enums§

IsoFormat
ISO 8601 format precision levels.
Rfc3339Format
RFC 3339 format precision levels.

Functions§

default_format
Get the default date format (matches GNU date default output).
file_mod_time
Get the modification time of a file.
format_date
Format a SystemTime using the given format string.
format_iso
Format a SystemTime in ISO 8601 format.
format_rfc3339
Format a SystemTime in RFC 3339 format.
format_rfc_email
Format a SystemTime in RFC 5322 (email) format.
parse_date_string
Parse a date string into a SystemTime.
parse_iso_format
Parse an ISO format precision string.
parse_rfc3339_format
Parse an RFC 3339 format precision string.