obspy.core.utcdatetime.UTCDateTime._set_microsecond

UTCDateTime._set_microsecond(value)[source]

Sets microseconds of current UTCDateTime object.

Parameters:value (int) Microseconds

Example

>>> dt = UTCDateTime(2012, 2, 11, 10, 11, 12, 345234)
>>> dt.microsecond = 999123
>>> dt
UTCDateTime(2012, 2, 11, 10, 11, 12, 999123)