common_time::timestamp

Function naive_datetime_to_timestamp

source
fn naive_datetime_to_timestamp(
    s: &str,
    datetime: NaiveDateTime,
    timezone: Option<&Timezone>,
) -> Result<Timestamp>
Expand description

Converts the naive datetime (which has no specific timezone) to a nanosecond epoch timestamp in UTC.