CTime::operators +=, -=

Use these operators to add and subtract a CTimeSpan object to and from this CTime object.

Syntax

const CTime& operator +=( CTimeSpan timeSpan );

const CTime& operator –=( CTimeSpan timeSpan );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CTime Overview, CTime Operators, Simple Value Types