IDateTimePicker.IsValidDate

Syntax

IsValidDate(Value: DateTime): Boolean;

Parameters

Value is a value of date and time that should be checked whether it is possible to set it as a value for the DateTimePicker component.

Description

The IsValidDate property indicates that it is possible to set the value that is passed by the Value parameter as value for the component.

Comments

The property returns True for date in the rage 01.01.1601-31.12.9999, and False for other dates.

See also:

IDateTimePicker