Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!vrdxhq!bms-at!stuart From: stuart@bms-at.UUCP (Stuart D. Gathman) Newsgroups: comp.lang.c Subject: Re: Calculating the length of a year Message-ID: <267@bms-at.UUCP> Date: Thu, 13-Nov-86 15:12:51 EST Article-I.D.: bms-at.267 Posted: Thu Nov 13 15:12:51 1986 Date-Received: Thu, 13-Nov-86 23:43:30 EST References: <53@vianet.UUCP> Organization: Business Management Systems, Inc., Fairfax, VA Lines: 9 Summary: A very small nit In article <53@vianet.UUCP>, devine@vianet.UUCP (Bob Devine) writes: > 2. Gregorian rules -- this works from the year after your country > if (year%4 == 0 && year%100 != 0 || year%400 == 0) The years 4000, 8000, . . . are not leap years! -- Stuart D. Gathman <..!seismo!{vrdxhq|dgis}!bms-at!stuart>