Utilities.DateTimeToSystemTime Method

Applies to TestComplete 14.10, last modified on June 5, 2019
This method is obsolete. See the Remarks section below.

Description

The Utilities.DateTimeToSystemTime method converts a Variant value, which holds date and time, to a TSystemTime value and returns this value via the SystemTime parameter. The resultant value can then be used in calls to Windows API functions.

Declaration

Utilities.DateTimeToSystemTime(DateTimeSystemTime)

DateTime [in]    Required    Variant    
SystemTime [out]    Required    TSystemTime    
Result None

Applies To

The method is applied to the following object:

Parameters

The method has the following parameters:

DateTime

Specifies the desired date and time.

SystemTime

Holds the converted Time in the TSystemTime format.

Result Value

None.

Remarks

Currently, this function works only in VBScript and DelphiScript scripts.

This method is obsolete. It is supported for backward compatibility only.

See Also

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

Highlight search results