| iMatix home page | << | < | > | >> |
SFL Version 2.10 |
#include "sfldate.h" Bool leap_year (int year)
Returns TRUE if the year is a leap year. You must supply a 4- digit value for the year: 90 is taken to mean 90 ad. Handles leap centuries correctly.
{ return ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0); }
| << | < | > | >> | Copyright © 1996-99 iMatix Corporation |