obspy.core.utcdatetime.UTCDateTime._get_timestamp

UTCDateTime._get_timestamp()[source]

Returns UTC timestamp in seconds.

Return type:float
Returns:Timestamp in seconds.

Example

>>> dt = UTCDateTime(2008, 10, 1, 12, 30, 35, 123456)
>>> dt.timestamp
1222864235.123456