[M.-A. Lemburg] > Looks a lot like what I do in mxDateTime.c :-) The key difference is that the Dates.py Gregorian algorithms were loop-free, no matter how large or small the year, even if the year requires a million bits to express (although not even Guido may live long enough to verify that in person <wink>).