Date to Day Calculator - Find Day of Week for Any Date
Find what day of the week any date falls on. Shows day name, day of year, and week number. Perfect for planning events, checking historical dates, and date calculations.
Reviewed by the Calcura editorial team · Last reviewed
- Question
- How do I find what day of the week a date falls on?
- Answer
- Most programming languages and spreadsheets expose this directly — in JavaScript, new Date('2026-07-04').getDay() returns 0–6 (Sunday=0). Manually, Zeller's congruence gives the day of week from a date: h = (q + ⌊13(m+1)/5⌋ + K + ⌊K/4⌋ + ⌊J/4⌋ − 2J) mod 7, where months Jan/Feb are treated as months 13/14 of the previous year.
▸Show formula & caveatsHide formula & caveats
- Formula
Zeller's congruence / civil calendar lookup- Caveats
- Before 1582 (Gregorian reform), the Julian calendar was in use — Zeller has a separate form for those dates.
- Day-of-week numbering varies: Sunday=0 (JS), Monday=1 (ISO), Monday=0 (Python); always check.
- Historical dates across calendar reform countries (Russia 1918, Greece 1923) need local context.
What This Calculator Does
This calculator takes a date and returns the day of the week (Sunday–Saturday), the day-of-year number (1–365 or 1–366 in leap years), and the ISO 8601 week number (1–53). Day-of-week math uses Zeller-style modular arithmetic internally; in practice, the browser's Date object handles it. The ISO week uses Monday as the start of the week and defines week 1 as the week containing the first Thursday of the year — a standard convention in business and ERP systems.
When To Use This Calculator
Event scheduling decisions
Checking whether 2026-11-21 falls on a Saturday (it does) before committing to a weekend party date. Reveals edge cases like birthdays that land on weekdays.
Historical-date curiosity
The day of the week you were born, or the day of the moon landing (1969-07-20, a Sunday). Useful for trivia and for verifying recorded dates.
Business reporting with ISO week numbers
Many ERP and HR systems tag records by ISO week (e.g., '2026-W16'). This calculator maps a raw date to its ISO week, useful for cross-referencing reports.
Fiscal and academic-year tracking
Day-of-year gives the 'how far through the year are we' answer — useful for annualized revenue projections, goal-progress dashboards, or academic pacing.
How It Works
Day of week: JavaScript's Date.getDay() returns 0–6 for Sunday–Saturday. Day of year: compute the difference between the date and December 31 of the previous year, in days. ISO week number: shift the date to the Thursday of its week (add 4 − current day-number-with-Monday=1), then count weeks from the first Thursday of that year. The ISO week definition is crucial — it can place early-January or late-December dates in the adjacent year's week numbering.
Formula
dayOfWeek ∈ {Sun=0, Mon=1, ..., Sat=6}
dayOfYear = floor((date − Jan 0 of year) / 86,400,000 ms)
ISO: shiftedDate = date + (4 − dayOfWeekMondayFirst) days
isoWeek = ceil(((shiftedDate − Jan 1 of shiftedDate.year) / 86,400,000 + 1) / 7)Real-World Example
Scenario
A project manager wants to know about 2026-12-28: what day is it, where does it fall in the year, and what ISO week for the project timeline?
Calculation
Day of week: Monday Day of year: 362 (2026 is not a leap year, so year has 365 days) ISO week: 2026-W53 — 2026-12-28 is in the 53rd ISO week, one of the rare 53-week years (because 2026 starts on Thursday and 365 / 7 with a Thursday kick leaves a 53rd week)
Result
Monday, day 362 of 365, ISO week 53 of 2026. If your ERP uses ISO weeks and buckets 2026-12-28 into 2026-W53, this is the correct bucket — not every year has a week 53, so check before assuming a 52-week structure.
Common Mistakes to Avoid
Mistake: Confusing ISO week with US week numbering
Solution: ISO week starts Monday; some US calendars start Sunday. The calculator uses ISO (Monday start). For US-specific payroll weeks, adjust accordingly.
Mistake: Assuming every year has 52 weeks
Solution: ISO weeks come in 52 or 53 depending on year-start day. 2026 has 53 ISO weeks; 2025 has 52. Rare-edge-case dates in late December or early January can belong to the adjacent year's ISO week number.
Mistake: Day-of-week drift across timezones
Solution: The calculator uses the device's local timezone. Dates near midnight can show different weekdays when interpreted in UTC vs. local. For global systems, anchor to UTC or to an explicit IANA timezone.
Mistake: Misreading leap-year day counts
Solution: In leap years, day-of-year for March 1 is 61 (not 60). This matters when comparing day-of-year across years — use the explicit date for year-over-year work rather than raw ordinals.
Date to Day vs. Related Calculators
Week Number Calculator
If you only need the ISO week number (not the weekday or day-of-year), use the dedicated week number calculator.
Date Difference Calculator
For the span between two dates — a different question that uses the same calendar arithmetic.
Age Calculator
Specialized for birthdate-based age computations (years/months/days) rather than day-of-week lookups.
When This Isn't the Right Tool
Historical dates before the Gregorian reform
Use instead: Dates before 1582 (or later in some regions, e.g., Britain adopted the Gregorian calendar in 1752) need a Julian-aware tool. A modern browser assumes the proleptic Gregorian calendar, which won't match historical records.
Custom work weeks
Use instead: Some industries (retail, broadcast media, fiscal calendars) use non-ISO week definitions. Use a custom-calendar tool or compute against the relevant reference date.
Religious or lunar calendars
Use instead: For Islamic, Hebrew, Chinese, or Hindu calendars, use a calendar-specific tool — the Gregorian day-of-week isn't meaningful in those systems for religious date purposes.
Timezone-sensitive day lookups
Use instead: A date that's Sunday in UTC might be Saturday in Pacific time. For cross-timezone systems, pin the date to a specific IANA timezone rather than using local time.
How to Verify This Calculation
In Excel, =WEEKDAY(date, 2) returns 1=Monday..7=Sunday (ISO style). =ISOWEEKNUM(date) returns the ISO week. =A1 − DATE(YEAR(A1),1,0) returns day-of-year. Agreement confirms the result.
Sources
- ISO 8601 — Date and Time Format — Defines ISO 8601 week numbers (weeks start Monday; week 1 contains the first Thursday).
- NIST — Time and Frequency Division — NIST reference for civil time and the Gregorian calendar used in day-of-week calculations.
- IANA Time Zone Database — Authoritative reference for timezone rules, relevant when day-of-week depends on the interpreter's timezone.
Reviewed by the Calcura editorial team · Last reviewed