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

Carsten Haese carsten.haese at
Tue Jan 20 16:12:06 CET 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

Carsten Haese

More information about the Python-list mailing list