Subject: | |
From: | |
Reply To: | |
Date: | Mon, 10 Oct 2011 11:39:54 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
BlankOk Ron,
I think there is a missing step somewhere. How do you compute the current
date into the calculations. Let's say, for example, I want to know what day
of the week March 23, 2053 will be. Today is October 9, 2011. I know there
are 41 March 23rd yet to come, and 7 of them are leap-years. I would assume
that gives me 48. So 48/7 gives me six.
That would tell me March 23 is on a Saturday, but it is actually on a
Sunday.
I know I'm missing something, as if I did this calculation tomorrow, it
would come out with the correct result.
Steve, K8SP
From: "Ron Canazzi" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Saturday, October 08, 2011 4:48 PM
Subject: Re: This will prove I have too much time on my hands, but an
interesting thing happens tomorrow.
> Hi List,
>
> Well I have a formula for figuring out what day of the week a particular
> date falls on.
>
> 1. figure out how many years the desired date if forward or backward from
> the current year.
> 2. Figure out the number of leap years between the current year and the
> desired year.
> 3. Add the 2 results from step 1 and 2.
> 4. Divide the result from step three by the number 7.
> 5. If there is no remainder, then the day of the week that the desired
> date falls on is the same as that date in the current year.
> 6. If there is a remainder, count the number of days forward or backwards
> (depending on whether your desire date is in the past or in the future)
> from
> the day the date falls on in the current year and that day of the week
> will
> be the day of the week on which the desired date falls in the desired
> year.
Steve, K8SP
|
|
|