The DateFormat class has the fields shown in the following table.
Fields | Description |
CUSTOM | Specifies a custom date or time format. When a DateDataFormat object's format property is set to CUSTOM, you can define the custom format string through the customFormat property. |
LONG | Specifies the Long Date format, as defined in the Regional Settings section of the Windows Control Panel. |
SHORT | Specifies the Short Date format, as defined in the Regional Settings section of the Windows Control Panel. |
TIME | Specifies the hh:mm format, in 24-hour time. |