IMonthCalendar.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 MonthCalendar component.

Description

The IsValidDate property returns whether it is possible to set the value that is passed by the Value parameter as a component value.

Comments

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

See also:

IMonthCalendar