Question is about Step Functions:(between" " are all floor functions.
The formula W=d+2m+"(3(m=1)/5)"+y+"y/4" -"y/100" + "y/400" + 2 gives the day of the month of the given date; m = the number of the month in the year with January and February regarded as the 13th and 14th months of the previous year; that is , 2/22/90 is 14/22/89. The other months are numbered 3 to 12 as usual; and y = the year as a 4-digit number.Once W is computed, divide by 7 and the remainder is the day of the week, with Saturday = 0, Sunday = 1,..., Friday = 6.
I need to find what day my birthday lies on. Everytime i try it always comes out to something different.My birthday is 4/11/1995.Somebody please help!
3 answers
Was one of your answers Tuesday?
That is supposed to be the answer but i do not how to get there.
what does (m=1) mean?
Is that (m-1)?
It doesn't seem to line up with Zeller's Congruence (which google)
Is that (m-1)?
It doesn't seem to line up with Zeller's Congruence (which google)