Function polars::export::arrow::temporal_conversions::utf8_to_timestamp_ns_scalar
source · [−]pub fn utf8_to_timestamp_ns_scalar<T>(
value: &str,
fmt: &str,
tz: &T
) -> Option<i64> where
T: TimeZone, Expand description
Parses value to Option<i64> consistent with the Arrow’s definition of timestamp with timezone.
tz must be built from timezone (either via parse_offset or chrono-tz).