obspy.core.utcdatetime.UTCDateTime.date

property UTCDateTime.date

Returns a Python date object..

Return type:

datetime.date

Returns:

Python date object.

Example

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