Skip to main content

parse_local_date_time

Function parse_local_date_time 

Source
pub fn parse_local_date_time(s: &str) -> Option<(i64, i32)>
Expand description

Parses YYYY-MM-DDTHH:MM:SS.fff (and the compact/date-only-precision variants parse_date already supports for the date half) into a naive (epoch_seconds, nanos) instant. A date-only string (no T) is also accepted, reading as midnight – real Cypher’s localdatetime('-999999999-01-01') (TCK Temporal10 [10]).