Utilities.TimeToStr Method

Applies to TestComplete 14.30, last modified on November 21, 2019
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
aqConvert.DateTimeToStr Method
aqConvert.DateTimeToFormatStr Method
aqDateTime.Time Method
aqDateTime.Now Method

Highlight search results