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.
| Product | Versions | Platforms | 
|---|---|---|
| .NET | 6, 7 | Windows, Linux, MacOS | 
| .NET Framework | 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows | 
| .NET Standard | 2.0 | Windows, Linux, MacOS |