Function time::strptime [-] [+] [src]

pub fn strptime(s: &str, format: &str) -> Result<Tm, ParseError>

Parses the time from the string according to the format string.