obspy.core.utcdatetime.UTCDateTime.datetime

property UTCDateTime.datetime

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)