Calendar Problem

Embed Size (px)

Citation preview

HOW TO KNOW THE DAY GIVEN ANY DATE HOW TO KNOW THE DAY GIVEN ANY DATEThis will be useful for Paper I - General Aptitude. These kind of questions are common in many competitive exams. Given a date, we are asked to give the day corresponding to that date. The following steps have to be followed for doing it. Before that, we should remember some values. They are, CENTURY CODE 1700 - 4 1800 - 2 1900 - 0 2000 - 6 2100 - 4 2200 - 2 2300 - 0 MONTH CODE JANUARY - 1 FEBRUARY - 4 MARCH - 4 APRIL - 0 MAY - 2 JUNE - 5 JULY - 0 AUGUST - 3 SEPTEMBER - 6 OCTOBER - 1 NOVEMBER - 4 DECEMBER - 6 DAY CODE SUNDAY - 1 MONDAY - 2 TUESDAY - 3 WEDNESDAY - 4 THURSDAY - 5 FRIDAY - 6 SATURDAY - 0 Let us take an example. The date considered is January 27,2008.1. Take the last two digits of the year and divide the number by 4, drop the remainder.

8 / 4 = 2

2. Add the day of the month to that number.

27 + 2 = 29

3. Add month code to the answer. Refer above for the month code.

29 + 1 = 30

4. Add century code to it. Refer above for the century code.

30 + 6 = 36

5. Take the result. Add last 2 digits of the year.

36 + 8 = 44

6. Divide the number by 7. Take only the remainder.

44 / 7 = Quotient is 6, Remainder is 2

7. Refer to the day code above. Since the remainder is 2, the day is MONDAY

So, JANUARY 27,2008 is a MONDAY.