🗓️ Calculate Day of the Week
Enter a date to find the corresponding day of the week.
Enter the date to find the day of the week.
📘 How to Calculate the Day?
The calculation of the day of the week can be done using Zeller's Congruence:
\[ h = \left( q + \lfloor \frac{13(m+1)}{5} \rfloor + K + \lfloor \frac{K}{4} \rfloor + \lfloor \frac{J}{4} \rfloor - 2J \right) \mod 7 \]
Where:
- \(q\) = Day of the month
- \(m\) = Month (adjusted: March = 3, ..., February = 14 of previous year)
- \(K\) = Year of the century (\(year \mod 100\))
- \(J\) = Zero-based century (\(floor(year / 100)\))