Vcl.ComCtrls.TDateTimePicker.DateTime

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DateTime;

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.

See Also