날짜·시간

요일 계산

특정 날짜의 요일을 확인

비우면 오늘 날짜가 기준이 됩니다.Left blank, today's date is used.

요일

Day of week

-

날짜를 입력해 주세요.

Enter a date.

양수는 N일 후, 음수는 N일 전을 계산합니다.Positive counts days after; negative counts days before.

결과 날짜

Resulting date

-

해당 요일Day of week-
요일 계산기란?

과거·미래의 특정 날짜가 무슨 요일인지 확인하고, 오늘(또는 지정한 기준일)로부터 N일 후 혹은 N일 전이 몇 월 며칠 무슨 요일인지도 함께 계산합니다. 약속·기념일·마감일 계획에 유용합니다.

계산 방법

입력한 날짜를 UTC 자정 기준으로 정규화한 뒤 자바스크립트 Date.getDay()로 요일 인덱스(0=일요일 ~ 6=토요일)를 구해 한국어 요일명으로 변환합니다.

N일 후/전은 기준일에 밀리초 단위로 N×24시간을 더하거나 빼서 결과 날짜를 구합니다.

요일 인덱스 표
요일 인덱스와 이름
인덱스요일
0일요일
1월요일
2화요일
3수요일
4목요일
5금요일
6토요일
계산기 없이도 요일을 알아내는 원리 — 나머지(mod 7) 연산

요일은 7일마다 똑같이 반복되므로, 기준이 되는 날짜의 요일을 하나만 알고 있으면 두 날짜 사이의 일수를 7로 나눈 나머지만으로 다른 날짜의 요일을 구할 수 있습니다. 역사적으로 널리 쓰인 젤러의 공식(Zeller's congruence)도 결국 이 나머지 연산을 월·일·세기 단위로 정교하게 쪼갠 것일 뿐, 핵심 원리는 나머지 연산과 같습니다.

예를 들어 2026년 1월 1일이 목요일이라는 사실 하나만 알면, 2026년 7월 17일까지는 197일이 지났으므로 197 ÷ 7 = 28주 나머지 1로 계산됩니다. 목요일에서 나머지 1만큼 뒤로 밀면 금요일이 되는데, 실제로 2026년 7월 17일은 금요일이 맞습니다. 이 계산기도 내부적으로 자바스크립트 Date 객체가 1970년 1월 1일(목요일)을 기준으로 경과 일수를 세고 7로 나눈 나머지로 요일을 판정하는 것과 같은 원리를 씁니다.

같은 날짜인데 왜 요일이 해마다 바뀔까요?

1년은 정확히 52주가 아니라 52주+1일(평년, 365일) 또는 52주+2일(윤년, 366일)입니다. 그래서 생일이나 기념일처럼 매년 같은 날짜를 기준으로 봐도, 그사이에 평년만 지났다면 요일이 1칸, 2월 29일이 포함된 윤년을 지났다면 2칸 밀립니다.

실제 사례로 확인해 보면, 2023년 1월 1일은 일요일이었고 2024년 1월 1일은 월요일로 1칸 밀렸습니다(2023년은 평년). 그런데 2025년 1월 1일은 수요일로 2칸 밀렸는데, 이는 2024년이 2월 29일을 포함한 윤년(366일)이었기 때문입니다. 2025년은 다시 평년이었던 만큼 2026년 1월 1일은 목요일로 1칸만 밀렸습니다. 이처럼 생일이 다시 같은 요일에 오려면, 그사이 지나간 윤년의 수를 포함한 총 일수가 정확히 7의 배수가 되는 해까지 기다려야 합니다.

What is a weekday finder?

This tool finds the day of the week for any past or future date, and also calculates the date and weekday N days after or before a reference date — handy for planning appointments, anniversaries, and deadlines.

How it is calculated

The input date is normalized to UTC midnight, then JavaScript's Date.getDay() returns a weekday index (0=Sunday to 6=Saturday), which is mapped to its name.

Note: "N days after/before" adds or subtracts N × 24 hours in milliseconds from the reference date.
Weekday index table
Weekday index and name
IndexWeekday
0Sunday
1Monday
2Tuesday
3Wednesday
4Thursday
5Friday
6Saturday
Finding a weekday without a calculator — the modulo-7 principle

Weekdays repeat every 7 days, so if you know the weekday of just one reference date, you can find any other date's weekday from the remainder of the day-count difference divided by 7. Zeller's congruence, the classic historical formula, is really the same remainder logic broken down by month, day, and century.

For example, January 1, 2026 is a Thursday. There are 197 days until July 17, 2026, and 197 ÷ 7 = 28 weeks with a remainder of 1 — shifting one day past Thursday lands on Friday, which matches the actual result. This calculator applies the same idea internally: JavaScript's Date object counts elapsed days from January 1, 1970 (a Thursday) and takes the remainder mod 7.

Why does the weekday for the same date shift every year?

A year isn't exactly 52 weeks — it's 52 weeks + 1 day in a common year (365 days) or 52 weeks + 2 days in a leap year (366 days). So a fixed date like a birthday shifts by one weekday across a common year, or two weekdays across a year that includes February 29.

In practice, January 1, 2023 was a Sunday, and January 1, 2024 was a Monday — a one-day shift, since 2023 was a common year. But January 1, 2025 was a Wednesday, a two-day shift, because 2024 was a leap year with 366 days. 2025 was a common year again, so January 1, 2026 shifted only one day to Thursday.

특정 날짜의 요일은 어떻게 계산하나요?
입력한 날짜를 UTC 자정 기준 Date 객체로 만든 뒤 요일 인덱스(0=일요일~6=토요일)를 구해 한국어 요일명으로 표시합니다. 과거·미래 날짜 모두 동일한 방식으로 계산됩니다.
N일 후/전 날짜는 어떻게 계산하나요?
기준일에 입력한 일수(N)를 더하거나 빼서 결과 날짜를 구하고, 그 날짜의 요일도 함께 계산해 보여줍니다. 음수를 입력하면 자동으로 이전 날짜가 계산됩니다.
먼 미래나 과거 날짜도 정확한가요?
그레고리력 기준으로 윤년 규칙까지 반영해 계산하므로 수십~수백 년 범위의 날짜도 정확한 요일을 확인할 수 있습니다.
요일 계산에 젤러의 공식이 꼭 필요한가요?
아니요. 기준일 하나의 요일만 알면 두 날짜 사이의 일수를 7로 나눈 나머지로 요일을 구할 수 있습니다. 젤러의 공식은 이 나머지 연산을 월·일·세기별로 세분화한 것뿐입니다.
매년 생일 요일이 바뀌는 이유는 무엇인가요?
1년이 365일(평년)이면 52주+1일이라 요일이 1칸, 366일(윤년)이면 52주+2일이라 2칸 밀리기 때문입니다. 예를 들어 2024년(윤년)을 지난 2025년 1월 1일은 2024년 1월 1일보다 요일이 2칸 밀렸습니다.
How is the weekday for a date calculated?
The date is normalized to UTC midnight, then its weekday index (0=Sunday to 6=Saturday) is computed and mapped to a name. Past and future dates use the same method.
How is the N-days-after/before date calculated?
The number of days (N) is added to or subtracted from the reference date, and the resulting date's weekday is shown as well. A negative N automatically computes a date in the past.
Is it accurate for far past or future dates?
Calculations follow the Gregorian calendar including leap-year rules, so dates spanning decades or centuries remain accurate.
Do I need Zeller's formula to find a weekday?
No. If you know the weekday of one reference date, the remainder of the day-count difference divided by 7 gives you any other date's weekday. Zeller's formula just breaks that same remainder logic down by month, day, and century.
Why does my birthday fall on a different weekday every year?
A 365-day common year is 52 weeks plus 1 day, shifting the weekday by one; a 366-day leap year is 52 weeks plus 2 days, shifting it by two. For example, January 1, 2025 fell two weekdays later than January 1, 2024, because 2024 was a leap year.