Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the day portion of this date/time-span value.
LONG GetDays( ) const throw( );
Return Value
The day portion of this date/time-span value.
Remarks
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);
Requirements
Header: atlcomtime.h
See Also
Reference
COleDateTimeSpan::SetDateTimeSpan