Function query_structure::prelude::parse_datetime
source · pub fn parse_datetime(
datetime: &str
) -> Result<DateTime<FixedOffset>, ParseError>
Expand description
Parses an RFC 3339 and ISO 8601 date and time string such as 1996-12-19T16:39:57-08:00, then returns a new DateTime with a parsed FixedOffset.