reeceyroo9
New member
- Joined
- Mar 5, 2015
- Messages
- 4
in the equation for the initial equation to find the weekday of 1st January in year :
(1 + 5((A-1)mod4) + 4((A-1)mod100) + 6((A-1)mod400) mod7
i understand each term represents a leap year, but i can not work out what the co - efficient are for so the 5 and 4 and 6 ?
(1 + 5((A-1)mod4) + 4((A-1)mod100) + 6((A-1)mod400) mod7
i understand each term represents a leap year, but i can not work out what the co - efficient are for so the 5 and 4 and 6 ?