Skip to main content

now_iso

Function now_iso 

Source
pub fn now_iso() -> String
Expand description

Current UTC time as an RFC3339 string - the Rust equivalent of TS new Date().toISOString() (PRODUCT.md A.5 wire format). On the (impossible) formatting error, falls back to the epoch so an audit never aborts over a clock.