IDateTimePickerEx.IsValidDate

Syntax

IsValidDate(Value: DateTime): Boolean;

Parameters

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

Description

The IsValidDate property returns whether 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:

IDateTimePickerEx