The xml.utils.iso8601 module provides conversion routines between the ISO 8601 representations of date/time values and the floating point values used elsewhere in Python. The floating point represtentation is particularly useful in conjunction with the standard time module.
Currently, this module supports a small superset of the ISO 8601 profile described by the World Wide Web Consortium (W3C). This is a subset of ISO 8601, but covers the cases expected to be used most often in the context of XML processing and Web applications. Future versions of this module may support a larger subset of ISO 8601-defined formats.
See Also:
International Organization for Standardization. Data elements and interchange formats -- Information interchange -- Representation of dates and times. International Organization for Standardization, 1988.
Gary Houston. ISO 8601 date/time representations. January 1993. Available online as compressed PostScript: ftp://ftp.informatik.uni-erlangen.de/pub/doc/ISO/ISO8601.ps.Z.
Markus Kuhn. A Summary of the International Standard Dateand Time Notation. Available online at http://www.cl.cam.ac.uk/~mgk25/iso-time.html.
Misha Wolf and Charles Wicksteed. Date and Time Formats. World Wide Web Consortium Technical Note, September 1998. Available online at http://www.w3.org/TR/NOTE-datetime.