Utilities.Now Method

Applies to TestComplete 12.60, last modified on September 17, 2018
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
aqDateTime.Now Method
aqDateTime.Today Method
aqDateTime.Time Method
aqConvert.DateTimeToStr Method
aqConvert.StrToDate Method
aqConvert.StrToTime Method
aqConvert.StrToDateTime Method
aqDateTime.SetTimeElements Method
aqDateTime.SetDateElements Method

Highlight search results