CTime::operators <<, >>

Use the CTime insertion (<<) operator supports diagnostic dumping and storing to an archive.

Use the extraction (>>) operator supports loading from an archive.

When you send a CTime object to the dump context, the local time is displayed in readable date-time format.

Syntax

friend CDumpContext& AFXAPI operator<<( CDumpContext& dc, CTime time );

friend CArchive& AFXAPI operator<<( CArchive& ar, CTime time );

friend CArchive& AFXAPI operator>>( CArchive& ar, CTime& rtime );

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, CArchive, CDumpContext