CPowerTime.Constructorsconstructor
Create new **CPowerTime** objects 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 CPowerTime
CONSTRUCTOR CPowerTime (BYVAL nTime AS ULONGLONG)
CONSTRUCTOR CPowerTime (BYREF ft AS FILETIME)
CONSTRUCTOR CPowerTime (BYREF st AS SYSTEMTIME)
Parameters
| Name | Description | |
|---|---|---|
nTime | A date and time expressed as a 64-bit value. | |
ft | A FILETIME structure. | |
st | A 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
- Documented in DateTime/CPowerTime Class.md
- Topic: CPowerTime Class