SaveTime Property

Applies to TestComplete 15.45, last modified on December 01, 2022

Specifies whether to store the time portion of the component’s TDateTime value.

Declaration

componentPropObj.SaveTime
Read-Write Property Boolean
componentPropObj     One of the objects listed in the Applies To section  

Applies To

The property applies to the following objects:

TcxDateEditProperties

Description

Generally the TcxDateEdit component only represents the date information. However it can store and display time information as well. To provide the component with the time information assign a non-integer floating-point value to the component’s Date or EditValue property.

Use the SaveTime property to define what to do with the time information if it is provided. Set SaveTime property to True to keep the fractional part of the TDateTime value that stores the time information. Otherwise, the fractional “time” part is truncated.

To display the time along with date enable the component’s ShowTime property.

Property Value

True, if the component stores the time portion, False otherwise.

See Also

TcxDateEdit Object
ShowTime Property

Highlight search results