All Exams Test series for 1 year @ ₹349 only
Question

What day of the week was 31 st January 2007?

The correct answer is

Wednesday

Calculating the Day of the Week for 31st January 2007

To determine the day of the week for a specific date like 31st January 2007, we can use various calendar calculation methods. One common approach involves using a formula that incorporates the day, month, year, and century.

We will use a standard formula and corresponding codes for months, years, and centuries. The formula helps calculate the "odd days" from a reference point, which then maps to a specific day of the week (often Sunday=0, Monday=1, and so on).

Understanding the Formula

A simplified formula to find the day of the week can be expressed as:

Day Code = (Day + Month Code + Year Code + Century Code) % 7

Where:

  • Day: The day of the month (e.g., 31 for 31st January).
  • Month Code: A specific code assigned to each month.
  • Year Code: A code derived from the last two digits of the year.
  • Century Code: A code derived from the century.
  • % 7: The remainder when divided by 7, which gives the day code (0-6).

Codes Used in Calendar Calculation

Month Codes (for Non-Leap Years)

Month Code
January 0
February 3
March 3
April 6
May 1
June 4
July 6
August 2
September 5
October 0
November 3
December 5

Note: For leap years, the code for January is 6 and for February is 2. The year 2007 is not a leap year (2007 is not divisible by 4).

Century Codes

Century (Years) Code
1600s (1600-1699) 6
1700s (1700-1799) 4
1800s (1800-1899) 2
1900s (1900-1999) 0
2000s (2000-2099) 6
2100s (2100-2199) 4

The pattern for century codes repeats every 400 years (6, 4, 2, 0).

Year Code

The year code is calculated based on the last two digits of the year (let's call them YY). The formula is: \((YY + \lfloor YY/4 \rfloor) \pmod{7}\).

For the year 2007, YY = 07.

Year Code \( = (07 + \lfloor 07/4 \rfloor) \pmod{7}\)

Year Code \( = (7 + \lfloor 1.75 \rfloor) \pmod{7}\)

Year Code \( = (7 + 1) \pmod{7}\)

Year Code \( = 8 \pmod{7}\)

Year Code \( = 1\)

Step-by-Step Calculation for 31st January 2007

Now let's plug the values for 31st January 2007 into the formula:

  • Day = 31
  • Month Code (January in 2007, a non-leap year) = 0
  • Year Code (for 07) = 1
  • Century Code (for 2000s) = 6

Day Code \( = (31 + 0 + 1 + 6) \pmod{7}\)

Day Code \( = (38) \pmod{7}\)

To find the remainder of 38 divided by 7:

\(38 = 5 \times 7 + 3\)

The remainder is 3.

So, the Day Code is 3.

Mapping Day Code to Day of the Week

Using the standard mapping where 0 represents Sunday:

  • 0: Sunday
  • 1: Monday
  • 2: Tuesday
  • 3: Wednesday
  • 4: Thursday
  • 5: Friday
  • 6: Saturday

Our calculated Day Code is 3, which corresponds to Wednesday.

Conclusion

Based on the calendar calculation formula, the day of the week for 31st January 2007 was Wednesday.

Revision Table: Key Codes for Calendar Calculation

Category Details Example (for 31/01/2007) Value
Day Day of the month 31 31
Month Code Specific code for the month (adjust for leap year Jan/Feb) January (2007 non-leap) 0
Year Code \((YY + \lfloor YY/4 \rfloor) \pmod{7}\) YY=07 1
Century Code Code based on the century 2000s 6
Day Code \((Day + Month Code + Year Code + Century Code) \pmod{7}\) \((31+0+1+6) \pmod{7}\) 3
Final Day Map Day Code (0=Sun, 1=Mon, ...) Code 3 Wednesday

Additional Information: Understanding Odd Days

Calendar calculations are often based on the concept of "odd days". Odd days are the number of days left over after dividing the total number of days by 7. Since there are 7 days in a week, every 7 days the cycle of days repeats.

  • A normal year has 365 days. \(365 \pmod{7} = 1\). So, a normal year has 1 odd day.
  • A leap year has 366 days. \(366 \pmod{7} = 2\). So, a leap year has 2 odd days.
  • A century year is a leap year only if it is divisible by 400 (e.g., 1600, 2000 are leap; 1700, 1800, 1900 are not).

These odd days accumulate over years and centuries. By calculating the total odd days from a known reference date (like the beginning of the calendar or a specific year), you can determine the day of the week for any date. The formula method used above is a shortcut derived from these odd day calculations.

Was this answer helpful?

Important Questions from Clock and Calendar

  1. If 19 July 2000 was a Wednesday, then what would be the day of the week on 15 June 2012?

  2. What was the day of the week on 10 June 2011?

  3. What day of the week was 5 February 2008?

  4. What day of the week was 29 June 2010?

  5. What day of the week will be on 1st January 2033?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App