Expand description

Conversion methods for dates and times.

Constants

Number of days between 0001-01-01 and 1970-01-01
Number of microseconds in a second
Number of microseconds in a day
Number of milliseconds in a second
Number of milliseconds in a day
Number of nanoseconds in a second
Number of nanoseconds in a day
Number of seconds in a day

Functions

converts a i32 representing a date32 to NaiveDateTime
converts a i64 representing a date64 to NaiveDateTime
converts a i64 representing a duration(ms) to Duration
converts a i64 representing a duration(ns) to Duration
converts a i64 representing a duration(s) to Duration
converts a i64 representing a duration(us) to Duration
converts a i32 representing a time32(ms) to NaiveDateTime
converts a i32 representing a time32(s) to NaiveDateTime
converts a i64 representing a time64(ns) to NaiveDateTime
converts a i64 representing a time64(us) to NaiveDateTime
converts NaiveTime to a i32 representing a time32(ms)
converts NaiveTime to a i32 representing a time32(s)
converts NaiveTime to a i64 representing a time64(ns)
converts NaiveTime to a i64 representing a time64(us)
converts a i64 representing a timestamp(ms) to NaiveDateTime
converts a i64 representing a timestamp(ns) to NaiveDateTime
converts a i64 representing a timestamp(s) to NaiveDateTime
converts a i64 representing a timestamp(us) to NaiveDateTime