DTPickerFormatConstants
Selects the display format used by a DTPicker control. Carried by the DTPicker.Format property.
When set to dtpCustom, the picker also reads DTPicker.CustomFormat to control the actual display.
| Member | Value | Description |
|---|---|---|
| dtpLongDate | 0 | Long date format, e.g. “Tuesday, January 14, 2025”. |
| dtpShortDate | 1 | Short date format, e.g. “1/14/2025”. |
| dtpTime | 2 | Time format, e.g. “3:45:00 PM”. |
| dtpCustom | 3 | Custom picture string from CustomFormat. |
See Also
- DTPicker – the consuming control