Parses a string expression of an instant in time.
NullableDateTime instance containing a value representative of the instant in time.
Exception Type | Condition |
---|---|
ArgumentNullException | s is null. |
FormatException | s is not a properly formatted date and time. |
OverflowException | s represents a time instant less than MinValue or greater than MaxValue. |
NullableDateTime Class | NullableTypes Namespace