Re: Year 2000 leap year?
Posted in 1997
KRKnight <krknight@aol.com> wrote in article <19970113213100.QAA09888@ladder01.news.aol.com>... > Is the year 2000 a leap-year? I know this has been hashed over many times > but I was wondering if any decision was "officially" made. The way it > looks, Informix Online 7.12.UC1 allows the date "02/29/2000" to be entered > into the system. Any news greatly appreciated. > > TIA, > Kevin Knight > Schwan's Sales Enterprises > You can look at the Naval Observatory FAQ (I forgot their address), but leap year IS skipped if it is a century year and NOT skipped if the year is evenly divisible by 400. Therefore, years divisible by 4 are leap years. years divisible by 100 are NOT. years divisible by 400 ARE. The year 2000 will be a leap year! isleapyear=(mod(d.year(),4)=0) and mod(d.year(),100)>0 or mod(d.year(),400)=0) HTH, Pepa -- Josef Dufek ISS Brno, Czech Republic