Utilities.Date Method

Applies to TestComplete 15.65, last modified on July 17, 2024
This method is obsolete. See the Remarks section below.


The Utilities.Date method returns the current date set on your computer.



Result Variant

Applies To

The method is applied to the following object:

Result Value

The current date set on your computer.


This method is obsolete. It is supported for backward compatibility only. To get the current date set, use the aqDateTime.Today method.

The method returns the date as the number of days that have passed since Dec, 30, 1899. To work with this value, you can use the Utilities objects’ methods. VBScript users can also pass this value to VBScript’s built-in date routines. Built-in routines of JavaScript, JScript, C#Script and C++Script cannot be used to work with the value.

See Also

Working With Dates
Today Method
Now Method
Time Method
GetDayOfWeek Method
DateTimeToFormatStr Method
DateTimeToStr Method
GetYear Method
GetMonth Method
GetDay Method
SetDateElements Method

Highlight search results