IsValidDate(Value: DateTime): Boolean;
Value. The value of date and time that is required to check if it can be set as a control value.
The IsValidDate property returns whether it is possible to set the value passed by the input parameter.
The property returns True for date in the range 01.01.1601-31.12.9999, and False for other dates.
See also: