Datetime utility functions

Gustavo Niemeyer niemeyer at conectiva.com
Wed Sep 17 00:11:07 CEST 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