Skip to main content

unix_s

Function unix_s 

Source
pub fn unix_s(timestamp: &str) -> Option<i64>
Expand description

Seconds since the Unix epoch of an ISO 8601 UTC time as the API writes it, YYYY-MM-DDTHH:MM:SS followed by Z or +00:00, with optional fractional seconds dropped; None for anything else.