Skip to main content

parse_datetime_to_utc

Function parse_datetime_to_utc 

Source
pub fn parse_datetime_to_utc(
    date_str: &str,
    time_str: &str,
    source_offset: &FixedOffset,
) -> Result<NaiveDateTime>
Expand description

Parse date+time CSV columns into NaiveDateTime (UTC). Interprets the input as the given source_offset, converts to UTC.