Skip to main content

parse_time

Function parse_time 

Source
pub fn parse_time(text: &str) -> Option<Timestamp>
Expand description

Reads a UTC timestamp of the wire, YYYYMMDD-HH:MM:SS with or without milliseconds.

Returns None when the text has another form or names a moment that does not exist.