Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic


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.

Note Note

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.