The COleDateTime class encapsulates the DATE data type used in Automation. COleDateTime value represents an absolute date and time value as a floating point number. The COleDateTime class handles dates from 1 January 1900 to 31 December 9999.
This type is also used to represent date-only or time-only values. By convention, the date 0 (31 December 1899) is used for time-only values. Similarly, the time 0:00 (midnight) is used for date-only values.
Header file: | Afxdisp.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
MFC for Windows CE does not support the Format member function of the COleDateTime class.
COleDateTime Member Functions, COleDateTime Operators, COleDateTime Data Members, COleDateTime Enumerations, Automation Types, COleVariant