The following illustration shows a window that contains three date-picker controls. When it is checked, the value in the control can be retrieved otherwise, the control is considered to be uninitialized.
Optionally, the control displays a check box. The date can be selected from a calendar, or by using an up-down control the time can be changed by typing in fields that are defined by the control's Format Strings. The client area of a date and time picker (DTP) control displays date or time information, or both, and acts as the interface through which users modify the information. It will not calculate dates that are consistent with the Julian calendar. The control is based on the Gregorian calendar, which was introduced in 1753. Windows does not support dates prior to 1601.