Datetime utility functions

Gustavo Niemeyer niemeyer at conectiva.com
Tue Sep 16 18:11:07 EDT 2003


> > you both use the same indirect way of getting to the end of the month.
> > why not do what datetime.c does, like:
> 
> Mainly because that seems even more like reinventing the wheel.
> Writing code that already exists is something I dislike doing at the
[...]

Why not using calendar.monthrange()?

-- 
Gustavo Niemeyer
http://niemeyer.net





More information about the Python-list mailing list