Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Challenge: Compute the number of Tuesdays since a given date
#24
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.
*****
Reply


Messages In This Thread
Challenge: Compute the number of Tuesdays since a given date - by Moneo - 06-27-2004, 08:57 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)