Followers

Monday, March 11, 2019

A DAY FOR ANY DATE

Step-
1.First we assign a code number to every day of the week. They are easy to remember.


2.Next we need a code for every month of the year.These month codes are used for every year,with two exceptions.
Etty
*In a leap year,the code for January is 5 and the code for February is 1.
3.Every year is assigned a code number.
Year of code-
1.There are 5 odd days in every 100 years.
2.There are 0 odd days in every 400 years.
Example-The code of 1900 .
1900=1600+300.
Code=0+5×3=15.(multiple of 400 is 0)
Example-The code of 1800.
1800=1600+200.
Code=0+5×2=10.(multiple of 400 is 0)
How to calculate day for date-
1.Day of date july4,1776.
a.code of  1776=1700+76.
1700=1600+100=0+5×1=5.
Code of 1776=5+76+76/4=5+76+19=100.
YEAR CODE+MONTH CODE+DATE=100+5+4
=109,it is divided by 7(because day code is 1 to 7) and take remainder.
Here remainder is 4.
Day code is Thursday.
So,July 4 ,1776 is Thursday.
Determine the days of the following dates:
1.June14, 2012
2.September1,1983.