Function time::strftime [−] [src]

pub fn strftime(format: &str, tm: &Tm) -> Result<String, ParseError>

Formats the time according to the format string.