>Subject: Re: Y2K: Leap Year Or Not?
>Author: Klaus Franke <[log in to unmask]> at CCGATE
>Date: 11/12/97 05:56 AM
>Hi,
>a nice routine, i found in some of our old c-sources:
>#define leap_year(yy) ((yy & 3) == 0 ? 1 : 0)
>Klaus Franke
Now... My 'C' skills are a little rusty but the above 'code' does *not* take
into consideration the 100 year and 400 year aspects of the leap year rule.
Regards
Paul H. Christidis