Example 6: Finding the day of the week for a specific date
Last Updated On: Sat Aug 29 2026Given Data
- Target date: 15 August 1947.
Question
What day of the week was 15 August 1947?
Answer
Friday.
Solution
- Step 1: Count odd days for 1946 completed years:
- 1600 years = 0 odd days.
- 300 years = 1 odd day.
- 46 years = 11 leap years + 35 ordinary years.
- Odd days in 46 years = (11 × 2) + (35 × 1) = 22 + 35 = 57 ≡ 1 odd day (57 mod 7).
- Total odd days up to 1946 = 0 + 1 + 1 = 2 odd days.
- Step 2: Count odd days in 1947 up to 15 August:
- Jan(3) + Feb(0) + Mar(3) + Apr(2) + May(3) + Jun(2) + Jul(3) + Aug(15 mod 7 = 1)
- Sum = 3 + 0 + 3 + 2 + 3 + 2 + 3 + 1 = 17 ≡ 3 odd days (17 mod 7).
- Step 3: Add total odd days = 2 + 3 = 5 odd days.
- Day code 5 corresponds to Friday.
- Therefore, 15 August 1947 was a Friday.