Shortcut To Find Day of Any Given Date:-: Code For Month Month
Shortcut To Find Day of Any Given Date:-: Code For Month Month
Shortcut To Find Day of Any Given Date:-: Code For Month Month
If year is less than 2000, then consider only last 2 digit of that year & if year is equal to or more than 2000,
then subtract 1900 from that given year.
It mean for 1914 Take (14) as value of the year
& for 2014 Take (2014 – 1900 = 114) as value of year.
As we know, leap year comes after every 4 years. So to know leap year value, just divide year by 4.
Date Month Year Leap Year
So now Trick is = & then find Remainder..
7
if Remainder is 1 (it is 1st day of week – monday)
if Remainder is 2 (day is Tuesday)
if Remainder is 3 (day is Wednesday)
if Remainder is 4 (day is Thursday)
If Remainder is 5 (day is Friday)
if Remainder is 6 (day is Saturday)
& if Remainder is 0 (then day is Sunday)
Note:- This trick is only to find the day of the year between 1900 & 2100
Vidya Guru Tilak Nagar - 9311566241, Karol Bagh - 8376934679/81, Pitampura - 8376934648, Munirka - 9650549487
www.vidyaguru.in