Use these operators to add and subtract COleDateTime values.
COleDateTime operator +( const COleDateTimeSpan& dateSpan ) const;
COleDateTime operator -( const COleDateTimeSpan& dateSpan ) const;
COleDateTimeSpan operator -( const COleDateTime& date ) const;
Header file: | Afxdisp.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
COleDateTime Overview, COleDateTime Operators, Automation Types, COleDateTime::operator +=, -=,, COleDateTime::GetStatus, COleDateTimeSpan