Countdown to a date

See how many months, days, hours, minutes and seconds are left until a date and time, live.

loading Countdown to a date
About this tool

What is a countdown to a date?

A countdown to a date shows how much time is left until a specific day and hour: a holiday, a trip, a wedding, an exam, a launch, a deadline or the end of the year. Instead of subtracting dates in your head, you get months, days, hours, minutes and seconds, updating every second, plus the same span as totals (all the days, all the hours, full weeks).

This tool counts the way a person counts. First it finds the whole calendar months between now and the target, then the days, hours, minutes and seconds that remain. So from 21 November 2026 at 12:00 to 25 December 2026 at 00:00 the answer is 1 month, 3 days and 12 hours, not "34 days minus something". Months keep their real length, leap years are respected and daylight saving changes do not turn a calendar day into a wrong count, because the days are counted on the calendar and not in blocks of 24 hours. If the date has already passed, it flips and counts the time since, so you can also see "how long ago" an event happened, for example how long you have been together or since a launch.

Quick presets fill in New Year, Christmas, the end of the year and "in 100 days". You can name the event, copy a summary of the result, and everything runs in your browser using your device's time zone. Nothing is sent to any server. For a plain duration (10 minutes, 2 hours) use the countdown timer instead.

How to count down to a date

  1. Optionally write an event name, such as "Trip to the beach". It makes the copied summary clearer.
  2. Choose the date in the "Date" field, or press a preset: "New Year", "Christmas", "End of the year" or "In 100 days".
  3. Set the time in "Time". If you leave it empty, midnight (00:00) is used.
  4. Read "Time left": months, days, hours, minutes and seconds, ticking every second.
  5. Below it, check the totals, for example "That is 33 days, 804 hours or 4 full weeks in total."
  6. If the date is in the past, the label changes to "Time since" and the numbers count upward.
  7. Press "Copy summary" to paste the result into a message or a calendar note.

Examples

Days until Christmas

At 12:00 on 21 November 2026, a countdown to 25 December 2026 at 00:00 gives 1 month, 3 days and 12 hours. In total that is 33 days, 804 hours (33 × 24 + 12) and 4 full weeks.

A month that is shorter

From 31 January 2026 at 00:00 to 1 March 2026 at 00:00 the tool says 1 month and 1 day: 31 January plus one month lands on 28 February (the last day of that month), and one more day reaches 1 March. The total is 29 days, since February 2026 has 28 days.

An event that already happened

At 12:00 on 21 November 2026, the date 1 November 2026 at 00:00 is in the past. The tool shows "Time since": 20 days and 12 hours, which is 492 hours in total and 2 full weeks.

The New Year preset

The preset takes the next 1 January at 00:00 local time. If today is already after it, it picks the following year. The same rule applies to Christmas: on 26 December it points to 25 December of next year.

Weeks until a deadline

Use the totals line: it gives the full weeks directly, so for any target date you can read how many whole weeks remain without dividing by 7.

Common mistakes

  • Mixing up the time zone. The countdown uses your device's time zone. A flight or an online event in another city happens at its own local time; convert it first with the time zone converter.
  • Forgetting the time of the day. A date with no time means 00:00, so a deadline "on the 25th" at 18:00 needs the time filled in.
  • Counting days by subtracting months of 30 days. Months have 28 to 31 days. The tool uses calendar months, so "1 month" is not always 30 days.
  • Reading "months" and "days" as totals. The main line is a calendar breakdown; the total days appear on the line below.
  • Expecting business days. The count includes every day. For working days, hours or ages, use the date calculator.
  • Leaving the page closed. The counter ticks while the page is open; reopening it recalculates from the real clock, so it is never out of date.

Frequently asked questions

How many days are left until a date?

Pick the date and read the totals line, which gives the whole days. The main line shows the same span in months and days.

Does it handle leap years?

Yes. It counts real calendar months and days, so 29 February is included when it exists.

Can I count the time since a date?

Yes. If the date is in the past the tool automatically shows "Time since" with the same breakdown, useful for anniversaries and project age.

Is the countdown accurate to the second?

It follows your device's clock. If your computer clock is wrong, the countdown will be too; the time is not fetched from a server.

How do I add or subtract days from a date?

Use the date calculator, which adds and subtracts days, months and years and counts the difference between two dates.

Date countdown in code

JavaScript

const target = new Date(2026, 11, 25); // 25 December 2026, 00:00 local
const now = new Date(2026, 10, 21, 12, 0, 0);
const days = Math.floor((target - now) / 86_400_000);
console.log(days); // 33

Python

from datetime import datetime
print((datetime(2026, 12, 25) - datetime(2026, 11, 21, 12)).days)  # 33

Bash

echo $(( ( $(date -d 2026-12-25 +%s) - $(date +%s) ) / 86400 ))  # days left (GNU date)
Report a problem