int GetSecond( ) const;
Return Value
The second represented by the value of this COleDateTime object.
Remarks
Call this member function to get the second represented by this date/time value.
Valid return values range between 0 and 59. If the status of this COleDateTime object is not valid, the return value is AFX_OLE_DATETIME_ERROR.
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 in Visual C++ Programmer’s Guide.
For information on other member functions that query the value of this COleDateTime object, see the following member functions:
Example
See the example for GetHour.
COleDateTime Overview | Class Members | Hierarchy Chart
See Also COleDateTime::COleDateTime, COleDateTime::SetDateTime, COleDateTime::operator =, COleDateTime::GetStatus