On Wed, Nov 27, 2019 at 9:56 AM Jim Hawkins <jhawkins@xxxxxxxxxxxx> wrote:

One of the things that we learned from Y2K is that the first of the (any)
month will fall on each day of the week 4 times in a given 28 year period.

Hmm, not bad. When you said "4 times" did you mean *at least* 4 times,
or *exactly* 4 times?

For those who only care about "good enough till I retire" then your
statement is easily good enough as-is.

For date/calendar geeks and folks who like to be pedantic about
everything, you have to be careful across years divisible by 100. Year
2000 made things kind of easy because it's divisible by 4 and is a
leap year. From 1901 to 2099, you can pretend that every year
divisible by 4 is a leap year.

But actually 2100 is not a leap year. So you have (for example)
January 1 falling on a Saturday in 2078, 2084, 2089, 2095, and 2101;
which is 5 times in clearly less than 28 years.

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.