Utilities.SystemTimeToDateTime Method

Applies to TestComplete 15.45, last modified on December 01, 2022
This method is obsolete. See the Remarks section below.

Description

The Utilities.SystemTimeToDateTime method converts Win32’s system time value to a value that encodes date and time.

Declaration

Utilities.SystemTimeToDateTime(SystemTime)

SystemTime [in]    Required    TSystemTime    
Result Variant

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

SystemTime

Specifies the desired TSystemTime value.

Result Value

The integral part of the SystemTimeToDateTime method’s return 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.

Remarks

This method is obsolete. It is supported for backward compatibility only. To process date and time values, use the methods of the aqDateTime object.

See Also

Working With Dates
Working With Time
Today Method
Now Method
Time Method
Calling Win32 API Functions

Highlight search results