Utilities.Date Method

Applies to TestComplete 15.47, last modified on January 20, 2023
This method is obsolete. See the Remarks section below.

Description

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

Declaration

Utilities.Date()

Result Variant

Applies To

The method is applied to the following object:

Result Value

The current date set on your computer.

Remarks

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