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.
friend CDumpContext& AFXAPI operator<<( CDumpContext& dc, CTime time );
friend CArchive& AFXAPI operator<<( CArchive& ar, CTime time );
friend CArchive& AFXAPI operator>>( CArchive& ar, CTime& rtime );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CTime Overview, CTime Operators, Simple Value Types, CArchive, CDumpContext