Utilities.Now Method

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

Description

The Utilities.Now method returns the current date and time, which correspond to the sum of the values returned by the Date and Time methods. The integral part of the Now method’s resulting value is the number of days that have passed since 12/30/1899. The fractional part of this value is fraction of a 24 hour day that has elapsed.

Declaration

Utilities.Now()

Result Variant

Applies To

The method is applied to the following object:

Result Value

The Variant value storing the current date and time.

Remarks

This method is obsolete. It is supported for backward compatibility only. To get the current date and time, use the aqDateTime.Now method.

See Also

Working With Dates
Working With Time
Now Method
Today Method
Time Method
DateTimeToStr Method
StrToDate Method
StrToTime Method
StrToDateTime Method
SetTimeElements Method
SetDateElements Method

Highlight search results