[fpc-pascal]Week Day

James_Wilson at i2.com James_Wilson at i2.com
Mon Apr 23 14:33:19 CEST 2001

>The algorithm is a modification of the ingenious formula invented
>by a mathematician named Zeller, way before the era of computers
>(some time in the 19th century, if I remember correctly). He used
>an even nicer formula, at least nicer for a mathematician, without
>a table lookup for the various months (with an extra addition and
>a division), but the actual implementation is certainly faster with
>a lookup.

Interesting bit of history. Thanks for the insight...


More information about the fpc-pascal mailing list