COleDateTimeSpan::COleDateTimeSpan

Use these constructors to construct a COleDateTimeSpan object.

The default constructor initializes it to zero.

Use the copy constructor to construct a COleDateTimeSpan object from an existing COleDateTimeSpan object.

Use COleDateTimeSpan( dblSpanSrc ) to construct a COleDateTimeSpan object from a floating point value.

Use COleDateTimeSpan( lDays, nHours, nMins, nSecs ) to construct a COleDateTimeSpan object initialized to the specified numerical values.

Syntax

COleDateTimeSpan( );

COleDateTimeSpan( const COleDateTimeSpan& dateSpanSrc );

COleDateTimeSpan( double dblSpanSrc );

COleDateTimeSpan( long lDays, int nHours, int nMins, int nSecs );

At a Glance

Header file: Afxdisp.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

COleDateTimeSpan Overview, COleDateTimeSpan Member Functions, Automation Types, COleDateTimeSpan::GetStatus, COleDateTimeSpan::operator =, COleDateTimeSpan::m_span, COleDateTimeSpan::m_status