CTimeSpan::CTimeSpan

Use these constructors to create a new CTimeSpan object initialized with the specified relative time.

Syntax

CTimeSpan( );

CTimeSpan( const CTimeSpan& timeSpanSrc );

CTimeSpan( time_t time );

CTimeSpan( LONG lDays, int nHours, int nMins, int nSecs );

At a Glance

Header file: Afx.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CTimespan Overview, CTimeSpan Member Functions, Simple Value Types