Поделиться через


COleDateTimeSpan::GetSeconds

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

LONG GetSeconds( ) const throw( );

Возвращаемое значение

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

Заметки

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:

Пример

COleDateTimeSpan ts(3, 1, 5, 12); // 3 days, 1 hour, 5 min, and 12 sec
ASSERT(ts.GetSeconds() == 12);   

Требования

Header: atlcomtime.h

См. также

Основные понятия

COleDateTimeSpan Class

COleDateTimeSpan Members

Hierarchy Chart

COleDateTimeSpan::SetDateTimeSpan