GregorianDateParse Method (String) |
Converts the specified string representation of a date and time to its GregorianDate equivalent.
Note: GregorianDate is always assumed to be in UTC. You cannot parse strings containing time zone information. However, this will handle three common ISO8601 formats:
Namespace: AGI.Foundation.Time
Exception | Condition |
---|---|
ArgumentNullException | Thrown if s is . |
FormatException | Thrown if s does not contain a valid string representation of a date and time. |