COleDateTimeSpan::GetDays

long GetDays( ) const;

Return Value

The day portion of this date/time-span value.

Remarks

Call this member function to retrieve the day portion of this date/time-span value.

The return values from this function range between approximately  – 3,615,000 and 3,615,000.

For other functions that query the value of a COleDateTimeSpan object, see the following member functions:

Example

COleDateTimeSpan ts( 3, 1, 5, 12 ); // 3 days, 1 hour, 5 min, and 12 sec
ASSERT( ts.GetDays() == 3 );

COleDateTimeSpan OverviewClass MembersHierarchy Chart

See Also   COleDateTimeSpan::SetDateTimeSpan