Get the current UTC time as nanoseconds since the Unix epoch (January 1, 1970).
Utc
:= []
Read and manipulate UTC timestamps represented as nanoseconds since the Unix epoch.
to_nanos_since_epoch : U128 -> U128
Return nanoseconds since the Unix epoch.
Convert nanoseconds since epoch to a timestamp.
Convert nanoseconds since epoch to milliseconds since epoch.
Convert milliseconds since epoch to nanoseconds since epoch.
delta_as_nanos : U128, U128 -> U128
Calculate the difference between two timestamps in nanoseconds.
delta_as_millis : U128, U128 -> U128
Calculate the difference between two timestamps in milliseconds.
to_iso_8601 : U128 -> Str
Format a UTC timestamp as ISO 8601 seconds, e.g. 2023-11-14T23:39:39Z.