BCGSuite for MFC
COleDateTimeSpan CBCGPDurationCtrl::GetDuration ( ) const

Returns current duration.

Returns
COleDateTimeSpan - time duration that is currently stored and displayed.

Call this method to retrieve currently stored and displayed time duration.

All parts of time duration of return value (exclude seconds) are significant. You should care about limitation of stored value. Call method GetState() and check DRTN_DAYS, DRTN_HOURS_MINS and DRTN_SECONDS bits of returned value to examine which part is displayed or not and what is value limitation.