Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
constCTime&operator+=(CTimeSpantimeSpan**);**
constCTime&operator-=(CTimeSpantimeSpan**);**
Remarks
These operators allow you to add and subtract a CTimeSpan object to and from this CTime object.
Example
// example for CTime::operator -=
CTime t( 1999, 3, 19, 22, 15, 0 ); // 10:15PM March 19, 1999
t += CTimeSpan( 0, 1, 0, 0 ); // 1 hour exactly
ASSERT( t.GetHour() == 23 );