Parameters
- value
- The string that is to be converted into a TdDate.
Return Value
A TdDate is returned that is equivalent to the Date contained in the value string.
Exception | Description |
---|---|
System.ArgumentNullException | Value is a null reference. |
System.FormatException | Value does not contain a valid representation of a date. |
The input string is parsed using the format information contained in the current Globalization.DateTimeFormatInfo.
An attempt is made to avoid throwing a FormatException. Any unrecognized characters in the string will be ignored.
If the value contains the string "Null" a TdDate.Null will be returned.
Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019