CRDate::CRDate
Previous  Index  Next

CRDate();
CRDate(unsigned year, unsigned month, unsigned day, unsigned hour = 0, unsigned minute = 0, unsigned second = 0);

Parameters

year, month, day, hour, minute, second
Indicate the date and time values to be copied into the new CRDate object.  

Description

This member function constructs a new CRDate object initialized with the specified absolute time.

Example

  // Set 31.12.1999 23:59:59 value to date object
  CRDate date(1999, 12, 31, 23, 59, 59);

See Also

CRDate::setYear


CRDate | Classes | OCL | Index