Re: TIB: Special program...


[Prev][Next][Index][Thread]

Re: TIB: Special program...




I wrote that in Pascal a few years ago; the way I did it was to just divide by
seven and then evaluate the leap years separately, modifying the calculation
by a day if there is one.  It's a lot easier than base converting because the
month and day fields would each need different conversions, as well as the
year must be calculated on a base ten system.  It is possible, yes, but it's
just more difficult to write and would take up more memory.

PJC II