Dela via


CTime::GetSecond

Returns the second represented by the CTime object.

int GetSecond( ) const throw( );

Return Value

Returns the second, based on local time, in the range 0 through 59.

Remarks

This function calls GetLocalTm, which uses an internal statically allocated buffer. The data in this buffer is overwritten because of calls to other CTime member functions.

Example

See the example for GetHour.

Requirements

Header: atltime.h

See Also

Reference

CTime Class

Hierarchy Chart

Other Resources

CTime Members