How to get first/last day of the previous month?

Carsten Haese carsten.haese at gmail.com
Tue Jan 20 10:12:06 EST 2009


Marco Mariani 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.

--
Carsten Haese
http://informixdb.sourceforge.net



More information about the Python-list mailing list