Simple Method to Calculate the Day
of Any Date
Day = (Y + ¼ x Y + M + D)/7
Note: While dividing Year with 4
always discard the remainder and take only the result. While dividing with 7
consider only the remainder. The remainder starting from Sunday =0 will give
If it is a leap year then for the
months Jan & Feb subtract 1 from Sum and divide by 7.