Utilities.Date Method

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

Highlight search results