obspy.core.utcdatetime.UTCDateTime.__unicode__

UTCDateTime.__unicode__()[source]

Returns ISO8601 unicode representation from current UTCDateTime object.

Returns:string

Example

>>> dt = UTCDateTime(2008, 10, 1, 12, 30, 35, 45020)
>>> dt.__unicode__()
'2008-10-01T12:30:35.045020Z'