obspy.core.utcdatetime.UTCDateTime.second

property UTCDateTime.second

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