obspy.core.utcdatetime.UTCDateTime._get_datetime

UTCDateTime._get_datetime()[source]

Returns a Python datetime object.

Return type:datetime.datetime
Returns:Python datetime object.

Example

>>> dt = UTCDateTime(2008, 10, 1, 12, 30, 35, 45020)
>>> dt.datetime
datetime.datetime(2008, 10, 1, 12, 30, 35, 45020)