How to get first/last day of the previous month?
Marco Mariani
marco at sferacarta.com
Tue Jan 20 10:20:25 EST 2009
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.
More information about the Python-list
mailing list