Function parse

Source
pub fn parse(s: &str) -> Result<DateTime<FixedOffset>, Error>
Expand description

Attempts to parse the provided string into a DateTime<FixedOffset>. Also see parse_utc for a convenience conversion to DateTime<Utc>.

ยงErrors

Will return Err when an invalid or unsupported DateTime format is provided.