We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Date and Time: Database Support

As of version 4.0, MFC database programming uses the COleDateTime and COleDateTimeSpan classes to represent date and time data. These classes, also used in Automation, are derived from class COleVariant. They supply better support for managing date and time data than do CTime and CTimeSpan.