Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: One-Liners

From: greggirwin:mindspring at: 17-Apr-2003 15:52

Hi Hugues, HM> I was reading the One-Liners page in RebolTech web Site, and I've just a HM> very little remark on a script on Andrew. HM> In fact year 2000 is not a leapyear, because all years that multiply 400 are HM> not leapyear, in order to approach to the real number of days (365,2422) in HM> a year. With this system, it's approached to 365,2425 To back up Andrew's response, here are the general/common rules I know of: 1) If the year is divisible by 4, itís a leap year. 2) Butóif the year is also divisible by 100, itís not a leap year. 3) Double butóif the year is also divisible by 400, it is a leap year. So 2000 is a leap year according to those. Now, there is more than one calendaring system in the world, so... -- Gregg