Help Center›AfxNova
COleDateTime.Constructorconstructor
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.
Syntax
PRIVATE CONSTRUCTOR COleDateTime
PRIVATE CONSTRUCTOR COleDateTime (BYREF dateSrc AS COleDateTime)
PRIVATE CONSTRUCTOR COleDateTime (BYVAL nYear AS WORD, BYVAL nMonth AS WORD, BYVAL nDay AS WORD, BYVAL nHour AS WORD, BYVAL nMin AS WORD, BYVAL nSec AS WORD)
PRIVATE CONSTRUCTOR COleDateTime (BYVAL dtSrc AS DATE_)
Parameters
| Name | Description | |
|---|---|---|
dateSrc | An existing COleDateTime object to be copied into the new COleDateTime object. | |
varSrc | An existing VARIANT data structure (possibly a COleVariant object) to be converted to a date/time value ( VT_DATE) and copied into the new COleDateTime object. | |
dtSrc | A date/time ( DATE) value to be copied into the new COleDateTime object. | |
timeSrc | A LongInt value to be converted to a date/time value and copied into the new COleDateTime object. | |
systimeSrc | A SYSTEMTIME structure to be converted to a date/time value and copied into the new COleDateTime object. | |
filetimeSrc | A FILETIME structure to be converted to a date/time value and copied into the new COleDateTime object. Note that FILETIME uses Universal Coordinated Time (UTC), so if you pass a local time in the structure, your results will be incorrect. See File Times in the Windows SDK for more information. | |
nYear | , nMonth, nDay, nHour, nMin, nSec Indicate the date and time values to be copied into the new COleDateTime object. | |
wDosDate | , wDosTime MS-DOS date and time values to be converted to a date/time value and copied into the new COleDateTime object. | |
dbts | A reference to a DBTimeStamp structure containing the current local time. |
Reference
- Include file
COleDateTime.inc - Defined in AfxNova/COleDateTime.inc:363