Function prisma_value::parse_datetime
source · pub fn parse_datetime(datetime: &str) -> ParseResult<DateTime<FixedOffset>>
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.