CTime Operators

Operators
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.
operator ==, < , etc. Compare two absolute times.

Archive/Dump
operator << Outputs a CTime object to CArchive or CDumpContext.
operator >> Inputs a CTime object from CArchive.

See Also

CTime Overview, CTime Member Functions, Simple Value Types