COleDateTimeSpan::GetTotalHours

double GetTotalHours( ) const;

Return Value

This date/time-span value expressed in hours. Although this function is prototyped to return a double, it will always return an integer value.

Remarks

Call this member function to retrieve this date/time-span value expressed in hours.

The return values from this function range between approximately  – 8.77e7 and 8.77e7.

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

Example

See the example for GetTotalDays.

COleDateTimeSpan OverviewClass MembersHierarchy Chart

See Also   COleDateTimeSpan::SetDateTimeSpan