obspy.core.utcdatetime.UTCDateTime._set_day

UTCDateTime._set_day(value)[source]

Sets day of current UTCDateTime object.

Parameters:value (int) Day

Example

>>> dt = UTCDateTime(2012, 2, 11, 10, 11, 12)
>>> dt.day = 20
>>> dt
UTCDateTime(2012, 2, 20, 10, 11, 12)