Specifies the component’s date value.
|componentObj||One of the user forms components listed in the Applies To section|
The property applies to the following components:
Date property to get or set the date value represented by the component. This property returns a
TDateTime value whose integer part is the number of days that have passed since 12/30/1899. For example:
Date property is a wrapper for the
EditValue property and as the
EditValue of the
TDateTime data type it can accept fractional values. In this case the component can display both date and time (This depends on the
Properties.ShowTime property). Note that when you select a date in the calendar pop-up window, the time part of the component’s value can be preserved or truncated depending on the
A floating-point value whose integer part specifies the number of days elapsed since 12/30/1899.
When the calendar edit is cleared, that is when the
EditValue contains an empty value (
Nothing in VBScript,
None in Python, and
nil in DelphiScript), the
Date property returns -700000.