Utilities.SystemTimeToDateTime Method

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


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



SystemTime [in]    Required    TSystemTime    
Result Variant

Applies To

The method is applied to the following object:


The method has the following parameter:


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.


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