COleDateTime::operator +, -

Use these operators to add and subtract COleDateTime values.

Syntax

COleDateTime operator +( const COleDateTimeSpan& dateSpan ) const;

COleDateTime operator -( const COleDateTimeSpan& dateSpan ) const;

COleDateTimeSpan operator -( const COleDateTime& date ) const;

At a Glance

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

See Also

COleDateTime Overview, COleDateTime Operators, Automation Types, COleDateTime::operator +=, -=,, COleDateTime::GetStatus, COleDateTimeSpan