Carsten Haese wrote:
dateutil can do this and much, much more.Using dateutil for this is like using a sledgehammer to kill a fly. The task at hand can (and IMHO should) be solved with the standard datetime module.
Sure, but many python programmers are not even aware of the existence of that particular sledgehammer, it deserved to be mentioned. It should be part of the standard library I think.
-- http://mail.python.org/mailman/listinfo/python-list