Utilities.TimeToStr Method

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


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



Time [in]    Required    Variant    
Result String

Applies To

The method is applied to the following object:


The method has the following parameter:


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.


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