Crate unix_ts

source ·
Expand description

unix-ts provides lightweight representations of Unix timestamps.

Unix timestamps are one of the most common ways to exchange time data. A Unix timestamp is simply the number of seconds (and, optionally, fractions of a second) that have elapsed since January 1, 1970 at midnight UTC.

Macros§

  • Create a timestamp from the given Unix timestamp.

Structs§

  • A representation of a timestamp (seconds and nanos since the Unix epoch).