Utilities.DateToStr Method

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


The Utilities.DateToStr method converts a Variant value holding a date to a string using the format specified by the ShortDateFormat property.



Date [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 that stores the desired date.

Result Value

The string that stores the converted date.


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

See Also

Working With Dates
DateTimeToStr Method
Today Method
DateTimeToFormatStr Method
DateTimeToStr Method
StrToDate Method
StrToDateTime Method

Highlight search results