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


COleDateTime::GetSecond

Gets the second represented by this date/time value.

int GetSecond( ) const throw( );

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

The second represented by the value of this COleDateTime object or COleDateTime::error if the second could not be obtained.

Заметки

Valid return values range between 0 and 59.

ПримечаниеПримечание.

The COleDateTime class does not support leap seconds.

For more information about the implementation for COleDateTime, see the article Date and Time: Automation Support.

For information on other member functions that query the value of this COleDateTime object, see the following member functions:

Пример

See the example for GetHour.

Требования

Header: atlcomtime.h

См. также

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

COleDateTime Class

COleDateTime Members

Hierarchy Chart

COleDateTime::COleDateTime

COleDateTime::SetDateTime

COleDateTime::operator =

COleDateTime::GetStatus