> > 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