18.24.3 DateTime Objects

This class may be initialized with seconds since the epoch, a time tuple, an ISO 8601 time/date string, or a datetime.datetime, datetime.date or datetime.time instance. It has the following methods, supported mainly for internal use by the marshalling/unmarshalling code:

decode( string)
Accept a string as the instance's new time value.

encode( out)
Write the XML-RPC encoding of this DateTime item to the out stream object.

It also supports certain of Python's built-in operators through __cmp__() and __repr__() methods.

See About this document... for information on suggesting changes.