pub fn str_to_time(
    format: &str,
    string: &str
) -> Option<(i32, i32, i32, i32, i32, i32, i32)>