Specifies the date and time format the System.Windows.Forms.DateTimePicker control displays.
This enumeration is used by members such as DateTimePicker.Format.
The actual date/time formats are determined by the date, time, and regional settings set in the user's operating system.
Member Name | Description |
---|---|
Custom |
The System.Windows.Forms.DateTimePicker control displays the date/time value in a custom format. For more information, see DateTimePicker.CustomFormat. |
Long |
The System.Windows.Forms.DateTimePicker control displays the date/time value in the long date format set by the user's operating system. |
Short |
The System.Windows.Forms.DateTimePicker control displays the date/time value in the short date format set by the user's operating system. |
Time |
The System.Windows.Forms.DateTimePicker control displays the date/time value in the time format set by the user's operating system. |