CTime Operators

Operator Description
operator = Assigns new time values.
operator + Add CTimeSpan and CTime objects.
operator Subtract CTimeSpan and CTime objects.
operator += Add a CTimeSpan object to this CTime object.
operator = Subtract a CTimeSpan object from this CTime object.
CTime Comparison Operators Compare two absolute times.

Archive and Dump Operators

Operator Description
operator << Outputs a CTime object to CArchive or CDumpContext.
operator >> Inputs a CTime object from CArchive.