Help Center

CPowerTime.Constructorsconstructor

Create new **CPowerTime** objects initialized to the specified value.

DateTimeconstructordoc-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

CONSTRUCTOR CPowerTime
CONSTRUCTOR CPowerTime (BYVAL nTime AS ULONGLONG)
CONSTRUCTOR CPowerTime (BYREF ft AS FILETIME)
CONSTRUCTOR CPowerTime (BYREF st AS SYSTEMTIME)

Parameters

NameDescription
nTimeA date and time expressed as a 64-bit value.
ftA FILETIME structure.
stA SYSTEMTIME structure.

Description

Create new CPowerTime objects initialized to the specified value.

Examples

DIM cft AS CPowerTime = CPowerTime().GetCurrentTime()

DIM cft AS CPowerTime = AfxLocalFileTime print cft.GetFileTime

DIM cft AS CPowerTime = AfxLocalSystemTime print cft.GetFileTime

Reference