Help Center

WmiTimeToFileTimefunction

Converts a date and time value in the CIM DATETIME format to the FILETIME format.

COMfunctionCWmiDisp.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION WmiTimeToFileTime (BYVAL pwszDateTime AS WSTRING PTR, BYVAL bIsLocal AS BOOLEAN = TRUE) AS FILETIME

Parameters

NameDescription
pwszDateTimeThe date and time value in the CIM DATETIME format.
bIsLocalIndicates whether the returned value is interpreted as local time. The UTC property then contains the local time converted to the correct Coordinated Universal Times (UTC) offset. If the value is FALSE, then the value is interpreted as UTC with a zero (0) offset.

Return value

The date and time value as a FILETIME structure.

Description

Converts a date and time value in the CIM DATETIME format to the FILETIME format.

Reference