Day of the Week Calculator

Calculate what day of the week a particular date falls on. This calculator can determine the weekday for any date in the past or future, using the Gregorian calendar.

-
-

Weekday Information

Day Color Day Number
Sunday Red 0
Monday Blue 1
Tuesday Green 2
Wednesday Orange 3
Thursday Purple 4
Friday Gray-Blue 5
Saturday Indigo 6

About the Day of the Week Calculator

This calculator determines what day of the week a particular date falls on. It uses the Gregorian calendar, which is the calendar system used in most of the world today.

How the Calculation Works

The calculation is based on Zeller's Congruence algorithm, which is an algorithm to calculate the day of the week for any Julian or Gregorian calendar date. The formula is:

h = (q + floor((13*(m+1))/5) + K + floor(K/4) + floor(J/4) + 5*J) mod 7

Where:

Gregorian Calendar

The Gregorian calendar, introduced in 1582, gradually replaced the Julian calendar to correct for the drift in the date of Easter. The calculator works for dates from October 15, 1582 onward (when the Gregorian calendar was first adopted).

Interesting Facts