Day of Week Calculator
Find what day of the week any date falls on—past, present, or future. Perfect for planning events and historical curiosity.
Day of Week Examples
| Date | Day | July 4, 1776Thursday July 20, 1969Sunday Jan 1, 2000Saturday | Dec 25, 2024 | Wednesday |
Implementation
``javascript
function getDayOfWeek(year, month, day) {
const date = new Date(year, month - 1, day);
const days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
return days[date.getDay()];
}
``
Interesting Day Facts
- The Gregorian calendar repeats every 400 years
- Any date falls on each day of the week 58 times per 400 years
- The 13th falls on Friday slightly more often than other days