Skip to main content

now_utc

Function now_utc 

Source
pub fn now_utc() -> CivilUtc
Expand description

Current UTC instant as a CivilUtc. Falls back to the Unix epoch if the system clock is before 1970-01-01 (no Result — a VM with a broken clock should see 1970-01-01T00:00:00Z, which is loud enough to be noticed).