pub fn datetime_to_utc(
datetime: &NaiveDateTime,
timezone: &Timezone,
) -> LocalResult<NaiveDateTime>
Expand description
Cast a NaiveDateTime
with the given timezone.
pub fn datetime_to_utc(
datetime: &NaiveDateTime,
timezone: &Timezone,
) -> LocalResult<NaiveDateTime>
Cast a NaiveDateTime
with the given timezone.