Skip to main content

now_iso8601

Function now_iso8601 

Source
pub fn now_iso8601() -> String
Expand description

Return the current UTC timestamp in RFC 3339 / ISO 8601 form with nanosecond precision: YYYY-MM-DDTHH:MM:SS.fffffffffZ.

Falls back to 1970-01-01T00:00:00.000000000Z if the system clock is set before UNIX_EPOCH.