Friday, September 16, 2011

How to calculate day on a given date

Day of the Week:
January has 31 days. It means that every date in February will be 3 days later than the same date in January(28 is 4 weeks exactly). The below table is calculated in such a way. Remember this table which will help you to calculate.
January0
February3
March3
April6
May1
June4
July6
August2
September5
October0
November3
December5

Step1: Ask for the Date. Ex: 1st June 1988
Step2: Number of the month on the list, June is 4.
Step3: Take the date of the month, that is 01
Step4: Take the last 2 digits of the year, that is 88.
Step5: Find out the number of leap years. Divide the last 2 digits of the year by 4, 88 divide by 4 is 22.
Step6: Now add all the 4 numbers: 4 + 01 + 88 + 22 = 115.
Step7: Divide 115 by 7 = 16 remainder 3.
The reminder tells you the day.
Sunday0
Monday1
Tuesday2
Wednesday3
Thursday4
Friday5
Saturday6
Answer: Wednesday

3 comments:

  1. what do you mean fy finding the leap year?why did you devide 88 by 4?

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete