Share via


COleDateTimeSpan::GetMinutes

Retrieves the minute portion of this date/time-span value.

LONG GetMinutes( ) const throw( );

Return Value

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

Remarks

The return values from this function range between – 59 and 59.

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.GetMinutes() == 5);   

Requirements

Header: atlcomtime.h

See Also

Reference

COleDateTimeSpan Class

Hierarchy Chart

COleDateTimeSpan::SetDateTimeSpan