TcxCustomTimeEditProperties.Use24HourFormat Property
Indicates whether the time editor uses 24- or 12-hour format in edit mode.
Declaration
property Use24HourFormat: Boolean read; write; default True;
Property Value
Type | Default |
---|---|
Boolean | True |
Remarks
The Use24HourFormat allows you to choose between 24- and 12-hour formats when editing time values.
When Use24HourFormat is True, the time value is represented using the hh:mm:ss format where hh denotes the hours portion varying from 00 to 23, mm – minutes, ss – seconds.
If Use24HourFormat is False, the time format is hh:mm:ss ts. The hh portion defines hours varying from 1 to 12. The ts portion identifies a time suffix (the AM or PM strings in the English locale).
You can specify what portions of a time value to display via the TimeFormat property.
The default value of the Use24HourFormat property is True.
See Also