CFileTime.Constructorsconstructor
Creates a new **CFileTime** object initialized to the specified value.
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
| Name | Description | |
|---|---|---|
nSpan | A date and time expressed as a 64-bit value. | |
ft | A FILETIME structure. | |
st | A 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
- Documented in DateTime/CFileTime Class.md
- Topic: CFileTime Class