CTime::operators <<, >>

This insertion (<<) operator supports diagnostic dumping and storing to an archive.

This 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.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

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 );

See Also

CArchive, CDumpContext