Vcl.ComCtrls.TDateTimePicker.DateTime
Delphi
property DateTime: TDateTime read FDateTime write SetDateTime default 0;
C++
__property DateTime = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TDateTimePicker |
Description
Indicates the date that is marked on the calendar.
Vcl.ComCtrls.TDateTimePicker.DateTime inherits from Vcl.ComCtrls.TCommonCalendar.DateTime. All content below this line refers to Vcl.ComCtrls.TCommonCalendar.DateTime.
Indicates the date that is marked on the calendar.
Use DateTime to get or set the date (and, if relevant, time) that is marked on the calendar control. The value of DateTime must lie within the range specified by the MaxDate and MinDate properties.
If MultiSelect is True, the selected range of dates goes from DateTime to EndDate.
Note: You can also set the marked date with the Date property.