06-27-2004, 08:57 AM
Neo,
Actually I found the rule in my Webster's dictionary under leap year. If a year is a multiple of 100, although it as a multiple of 4, in order to be a leap year it has to be a multiple of 400. Example: the year 2100 will not be a leap year either.
Recently, I saw a new rule added to leap year. I'm not sure exactly but it has to do with being a multiple of 4000. A little too far in the future for me yet, so I haven't bothered to implement it into my leap year algorithm.
BTW, my main computer is down so I haven't had a chance to test your posted solution. I'm writing this from my daughter's machine which does not have any of my QB stuff. Give me a few more days.
*****
Actually I found the rule in my Webster's dictionary under leap year. If a year is a multiple of 100, although it as a multiple of 4, in order to be a leap year it has to be a multiple of 400. Example: the year 2100 will not be a leap year either.
Recently, I saw a new rule added to leap year. I'm not sure exactly but it has to do with being a multiple of 4000. A little too far in the future for me yet, so I haven't bothered to implement it into my leap year algorithm.
BTW, my main computer is down so I haven't had a chance to test your posted solution. I'm writing this from my daughter's machine which does not have any of my QB stuff. Give me a few more days.
*****