obspy.core.utcdatetime.UTCDateTime._get_second

UTCDateTime._get_second()[source]

Returns seconds as an integer.

Return type:int
Returns:Returns seconds as an integer.

Example

>>> dt = UTCDateTime(2012, 2, 11, 10, 11, 12)
>>> dt.second
12