COleDateTime

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.

At a Glance

Header file: Afxdisp.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

Remarks

MFC for Windows CE does not support the Format member function of the COleDateTime class.

See Also

COleDateTime Member Functions, COleDateTime Operators, COleDateTime Data Members, COleDateTime Enumerations, Automation Types, COleVariant