Compartilhar via


COleDateTimeSpan::GetTotalHours

Retrieves this date/time-span value expressed in hours.

double GetTotalHours( ) const throw( );

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

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.

Requirements

Header: atlcomtime.h

See Also

Reference

COleDateTimeSpan Class

Hierarchy Chart

COleDateTimeSpan::SetDateTimeSpan