# DTPickerFormatConstants
{: .no_toc }

Selects the display format used by a [**DTPicker**](/tB/Packages/WinNativeCommonCtls/DTPicker.md) control. Used by the [**DTPicker.Format**](/tB/Packages/WinNativeCommonCtls/DTPicker.md#format) property.

When set to **dtpCustom**, the picker also reads [**DTPicker.CustomFormat**](/tB/Packages/WinNativeCommonCtls/DTPicker.md#customformat) to control the actual display.

| Member            | Value | Description                                                            |
|-------------------|-------|------------------------------------------------------------------------|
| **dtpLongDate**{: #dtpLongDate }   | 0 | Long date format, e.g. *"Tuesday, January 14, 2025"*.   |
| **dtpShortDate**{: #dtpShortDate } | 1 | Short date format, e.g. *"1/14/2025"*.                  |
| **dtpTime**{: #dtpTime }           | 2 | Time format, e.g. *"3:45:00 PM"*.                       |
| **dtpCustom**{: #dtpCustom }       | 3 | Custom picture string from [**CustomFormat**](/tB/Packages/WinNativeCommonCtls/DTPicker.md#customformat). |

![Date pickers set to January 14, 2025, 3:45 PM: in the long date, time and custom formats, with spin buttons in place of the drop-down button, with a check box, and in the short date format with its calendar dropped down below it](/Reference/Built-In/WinNativeCommonCtls/Images/DTPicker.png){:width="561" height="409"}

## See Also

- [DTPicker](/tB/Packages/WinNativeCommonCtls/DTPicker.md) -- the consuming control
