const COleDateTime& operator +=( const COleDateTimeSpan dateSpan );
const COleDateTime& operator -=( const COleDateTimeSpan dateSpan );
Remarks
These operators allow you to add and subtract a COleDateTimeSpan value to and from this COleDateTime.
If either of the operands is null, the status of the resulting COleDateTime value is null.
If the resulting COleDateTime value falls outside the bounds of acceptable values, the status of this COleDateTime value is set to invalid.
If either of the operands is invalid and other is not null, the status of the resulting COleDateTime value is invalid.
For more information on the valid, invalid, and null status values, see the m_status member variable.
For more information about the bounds for COleDateTime values, see the article Date and Time: Automation Support in Visual C++ Programmer’s Guide.
COleDateTime Overview | Class Members | Hierarchy Chart
See Also COleDateTime::operator +, -, COleDateTime::GetStatus