TimeFormat Property

Applies to TestComplete 14.61, last modified on April 22, 2021

Specifies which portions of a time value are displayed by the editor.

Declaration

componentPropObj.TimeFormat
Read-Write Property String
componentPropObj     One of the objects listed in the Applies To section  

Applies To

This property applies to the following objects:

TcxTimeEditProperties

Description

Use the TimeFormat property to set or to find out which time portions are shown by the editor. The hour portion could be shown in 24-hour or 12-hour format - this is specified by the Use24HourFormat property.

Property Value

One of the following string values:

Value Description
tfHourMinSec Hours, minutes and seconds are displayed within the time editor. This is the default value.
tfHourMin Hours and minutes are displayed within the time editor.
tfHour Hours are displayed within the time editor.

See Also

Time Property
Use24HourFormat Property

Highlight search results