날짜·시간

D-day 계산

목표일까지 남은 날짜를 계산

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

D-day

D-day

D-0

목표일 요일Target weekday-
약 주수Weeks (approx.)0 wk
약 개월수Months (approx.)0 개월mo
총 일수Total days0 days

목표일을 입력해 주세요.

Enter your target date.

D-day란?

D-day는 특정 목표일을 기준으로 며칠이 남았는지, 혹은 며칠이 지났는지를 표시하는 방식입니다. 목표일까지 남은 경우 D-N(예: D-100), 목표일이 이미 지난 경우 D+N으로 표기하며, 목표일 당일에는 D-DAY로 표시합니다. 시험·수능·전역·결혼기념일·프로젝트 마감 등 특정 날짜를 기다리거나 기억할 때 널리 쓰입니다.

계산 방법

D-day는 목표일과 기준일을 각각 UTC 자정으로 맞춘 뒤, 두 시각의 밀리초 차이를 하루의 밀리초 수(86,400,000ms)로 나누어 반올림해 구합니다. 이렇게 UTC 자정 기준으로 계산하면 서머타임(DST)이나 시간대 차이로 인한 하루 오차를 방지할 수 있습니다.

일수 = round((목표일_UTC자정 − 기준일_UTC자정) / 86400000)

목표일이 기준일보다 미래면 남은 일수만큼 D-N, 과거면 지난 일수만큼 D+N으로 표시합니다. 당일 포함 옵션을 켜면 시작일을 1일차로 세는 기념일 계산 방식에 맞춰 일수에 1을 더합니다.

활용 예

수능이나 자격증 시험까지 남은 날짜를 확인해 학습 계획을 세우거나, 결혼기념일·창립기념일처럼 특정 날짜로부터 며칠이 지났는지 기념일을 계산할 때, 군 전역일까지 카운트다운할 때 등 다양한 상황에서 D-day 계산기를 활용할 수 있습니다.

What is D-day?

D-day notation shows how many days remain until, or have passed since, a target date. A future target is shown as D-N, a past one as D+N, and the target date itself as D-DAY. It is widely used for exams, discharge dates, anniversaries, and project deadlines.

How it is calculated

Days = round((target_UTC_midnight − reference_UTC_midnight) / 86400000)

Both dates are normalized to UTC midnight before subtracting, which avoids off-by-one errors caused by daylight saving time or timezone shifts. Enabling "Include start day" adds one day, matching the anniversary-style counting convention where the start day itself counts as day 1.

For reference only: results are based on the standard calendar formula and are provided for general information.
Real-world uses

Count down to an exam, a certification test, or the CSAT to plan your study schedule; track how many days have passed since a wedding or company anniversary; or count down to a military discharge date. The D-day calculator fits any situation where you are waiting for, or commemorating, a specific date.

디데이를 세는 두 가지 방식

같은 날을 두고도 D-100과 D-99가 동시에 나오는 이유는 시작일을 하루로 세는지 여부가 다르기 때문입니다. 어느 쪽이 맞다기보다 쓰는 곳마다 관행이 다릅니다.

당일 포함과 당일 제외

당일을 포함하면 시작일이 1일째가 됩니다. 만난 날을 1일로 세는 기념일 계산이 이 방식이고, 100일은 시작일로부터 99일 뒤가 됩니다.

당일을 제외하면 시작일 다음 날이 1일째입니다. 법정 기간과 행정 기한이 이 방식을 쓰고, 민법의 초일불산입 원칙과 같습니다.

군 복무나 시험 준비처럼 남은 날을 세는 경우에는 목표일 당일을 D-day로 두고 그 전날을 D-1로 셉니다. 목표일 자체는 0일 남은 상태라 D-0이 아니라 D-day로 표기합니다.

기념일 계산에서 흔한 어긋남

100일과 1주년은 세는 단위가 다릅니다. 100일은 날짜를 세고, 1주년은 달력의 같은 날짜를 찾습니다. 그래서 1주년은 365일째가 아니라 이듬해의 같은 월일입니다. 윤년이 끼면 366일째가 됩니다.

2월 29일이 시작일이면 평년에는 대응하는 날이 없습니다. 2월 28일이나 3월 1일 중 하나를 정해두면 해마다 헷갈리지 않습니다.

자정을 넘긴 시각을 기준으로 삼을지도 정해두는 편이 좋습니다. 날짜만 세면 시각은 무시되지만, 시각까지 세는 앱과는 하루 차이가 날 수 있습니다.

계산 근거

  • 기간의 기산점(초일불산입) — 민법 제157조
  • 연 단위 기간의 만료 — 민법 제160조

Two ways to count a D-day

The same date can read as D-100 or D-99 depending on whether the starting day is counted. Neither is wrong; conventions simply differ by context.

Counting the first day, or not

Counting the first day makes the start day one, the convention for anniversaries — so the hundredth day falls 99 days after the start.

Excluding it makes the following day one, which matches statutory periods and the civil-law rule on excluding the first day.

When counting down to a target, the target itself is D-day and the day before is D-1; the target is written D-day rather than D-0.

Where anniversary counts drift

A hundredth day and a first anniversary count different things: one counts days, the other finds the same calendar date next year — so an anniversary is not day 365, and a leap year makes it 366.

A 29 February start has no match in common years; fixing on 28 February or 1 March in advance avoids the annual confusion.

It also helps to settle whether time of day counts — date-only counting ignores it, and apps that track hours can land a day apart.

Legal basis

  • Excluding the first day — Civil Act art. 157
  • Expiry of yearly periods — Civil Act art. 160
D-day란 무엇인가요?
D-day는 특정 목표일까지 남은 일수(D-N) 또는 목표일로부터 지난 일수(D+N)를 표시하는 방식입니다. 목표일 당일은 D-DAY로 표기합니다.
D-day는 어떻게 계산하나요?
목표일과 기준일을 UTC 자정 기준으로 맞춘 뒤, 두 날짜의 밀리초 차이를 하루(86,400,000ms)로 나누어 일수를 구합니다. 목표일이 미래면 D-N, 과거면 D+N, 오늘이면 D-DAY로 표시합니다.
당일 포함 옵션은 무엇인가요?
기념일처럼 시작일을 1일차로 세는 경우 '당일 포함'을 체크하면 계산된 일수에 1일을 더해 표시합니다. 시험 D-day처럼 목표일 자체를 세지 않는 경우에는 체크하지 않습니다.
D-100은 언제인가요?
D-100은 목표일로부터 100일 전 날짜를 뜻합니다. 예를 들어 시험일이 2026년 11월 13일이라면, 그보다 100일 앞선 2026년 8월 5일이 D-100입니다. 목표일을 입력하면 오늘 기준 남은 일수가 표시되므로 D-100 시점을 쉽게 확인할 수 있습니다.
지난 날짜를 입력하면 어떻게 표시되나요?
목표일이 기준일보다 과거이면 지난 일수만큼 D+N으로 표시됩니다. 예를 들어 목표일이 어제였다면 D+1, 목표일이 오늘이면 D-DAY로 나타납니다. 결혼기념일처럼 지난 날짜로부터 며칠이 지났는지 확인할 때 유용합니다.
What is D-day?
D-day notation shows the number of days remaining until a target date (D-N) or the number of days that have passed since it (D+N). The target date itself is shown as D-DAY.
How is D-day calculated?
The target and reference dates are both normalized to UTC midnight, then their millisecond difference is divided by one day (86,400,000 ms). A future target shows as D-N, a past one as D+N, and today shows as D-DAY.
What is the "include start day" option?
When counting anniversary-style, where the start day counts as day 1, check "include start day" to add one day to the result. Leave it unchecked for exam-style D-days, where the target day itself is not counted.
When is D-100?
D-100 is the date 100 days before the target. For example, if an exam falls on 13 November 2026, then D-100 is 5 August 2026 — 100 days earlier. Enter the target date and the remaining days from today are shown, so you can easily locate the D-100 point.
How are past dates shown?
If the target date is earlier than the reference date, it is shown as D+N for the number of days that have passed. For example, if the target was yesterday it shows D+1, and if it is today it shows D-DAY. This is handy for checking how many days have passed since a wedding anniversary.