Skip to main content

parse_timestamp

Function parse_timestamp 

Source
pub fn parse_timestamp(text: &str) -> Option<i64>
Expand description

Reads an RFC3339 timestamp back to milliseconds since the epoch — the inverse of format_timestamp, for renderings that hold only the envelope’s string form and need to do arithmetic on it.