Help Center
Help CenterAfxNova

COleDateTime.Constructorconstructor

DateTimeconstructorCOleDateTime.incundocumented
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

NameDescription
dateSrcAn existing COleDateTime object to be copied into the new COleDateTime object.
varSrcAn 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.
dtSrcA date/time ( DATE) value to be copied into the new COleDateTime object.
timeSrcA LongInt value to be converted to a date/time value and copied into the new COleDateTime object.
systimeSrcA SYSTEMTIME structure to be converted to a date/time value and copied into the new COleDateTime object.
filetimeSrcA 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.
dbtsA reference to a DBTimeStamp structure containing the current local time.

Reference

  • Include file COleDateTime.inc
  • Defined in AfxNova/COleDateTime.inc:363