Help Center

CFileTime.Constructorsconstructor

Creates a new **CFileTime** object 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 CFileTime
CONSTRUCTOR CFileTime (BYVAL nSpan AS ULONGLONG)
CONSTRUCTOR CFileTime (BYREF ft AS FILETIME)
CONSTRUCTOR CFileTime (BYREF st AS SYSTEMTIME)

Parameters

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

Description

Create new CFileTime objects initialized to the specified value.

Examples

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

DIM cft AS CFileTime = AfxLocalFileTime print cft.GetTime

DIM cft AS CFileTime = AfxLocalSystemTime print cft.GetTime

Reference