Calender Tricks

Days Code:  Sun    Mon    Tue    Wed    Thu    Fri    Sat

                      0          1        2       3          4       5        6

Months Code:   Jan   Feb    Mar     Apr    May    June    Jul   Aug   Sep   Oct   Nov   Dec  

Ordinary Year     0      3        3         6        1          4        6        2        5       0      3        5

Leap Year           6       2       3         6        1          4        6        2        5       0      3        5

Century Code:   1600  -  6,   1700   - 4,   1800   -  2,    1900   -  0,  2000  - 6, 2100  -4,   2200  - 2,  2300  -0

How can we Find a day Trick- 

Remainder: Day + Months Code + CenturyCode + Last two digit of Year +(Last two digit of Year +4)/7

      For Example- Which was the day of 21 May 1997

   Remainder =  21 + 1 + 0 + 97 + (97 + 4) /7   =     220/7 

 = remainder 3 it means the day was Wednesday  .                                                      

Comments

Popular posts from this blog

Air taxi

Unpacking the DOGE Audit of HUD's Software Licenses: