Utilities.TimeToStr Method

Applies to TestComplete 15.45, last modified on December 01, 2022
This method is obsolete. See the Remarks section below.

Description

The Utilities.StrToDate method converts a Variant value that stores a time to a string using the format specified by the LongTimeFormat property.

Declaration

Utilities.TimeToStr(Time)

Time [in]    Required    Variant    
Result String

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

Time

Specifies the Variant value storing time to be converted to a string.

Result Value

The string that holds the time converted from the specified Variant value.

Remarks

This method is obsolete. It is supported for backward compatibility only. To convert a time value to a string, use the aqConvert.DateTimeToStr method.

See Also

Working With Time
DateTimeToStr Method
DateTimeToFormatStr Method
Time Method
Now Method

Highlight search results