Temporal.Dateval of_days : int -> tA date from days since 1970-01-01.
val to_days : t -> intDays since 1970-01-01.
val of_ymd : (int * int * int) -> t optionA date from (year, month, day); None if out of range.
val to_ymd : t -> int * int * intThe (year, month, day) of a date.
val to_ordinal : t -> intDays since 0001-01-01 (proleptic Gregorian ordinal).
val of_ordinal : int -> tA date from a proleptic Gregorian ordinal.
Add a number of months, clamping the day to the month length; None if the result is out of the supported year range.
val to_iso8601 : t -> stringFormat as "YYYY-MM-DD".
val of_iso8601 : string -> t optionParse "YYYY-MM-DD"; None if invalid.
val to_string : t -> stringAlias for to_iso8601.