Days Until a Date

ToolCalculators · updated 21 September 2026

33 days left

Dec 31, 2026, Thursday

The example above is calculated. Turn on JavaScript to count your own dates.

Pick a date and the calculator shows how many days are left until it and which day of the week it falls on. For a date in the past it tells you how many days ago it was. The field opens on the next December 31 as an example; replace it with any date from year 1 to 9999.

How it counts

The count runs from today, and today itself is not included: tomorrow is 1 day away, the day after is 2. “Today” is read from your device’s clock, so the answer is right for your own date, not for some server’s time zone. Leap days are counted like any other day when February 29 falls in between.

With JavaScript switched off, the page still shows a worked example, labelled with the date it is correct for.

In a spreadsheet

The formula is one line in both Excel and Google Sheets:

  • =A1-TODAY() — days left until the date in A1;
  • =TODAY()-A1 — days since a date in the past.

TODAY recalculates every time the sheet does, so the number moves on by itself each day — which is exactly what a countdown needs.

Questions

Does today count?
No. The calculator counts how many midnights are left before the date: the day before, it says 1 day; on the day itself, 0. That is also what subtracting TODAY() from a date gives in a spreadsheet.
How do I count down to a date in Excel or Google Sheets?
Put the date in A1 and use =A1-TODAY(). For a fixed date, Microsoft's own example is =DATEVALUE("1/1/2030")-TODAY(). If the cell shows a date instead of a number, change its format to Number or General.
What happens with a date in the past?
The calculator says how many days ago it was, in words rather than as a negative number. A spreadsheet will just show the minus sign.
Why is my number one off from someone else's?
Because "today" comes from your device's clock. Around midnight, people in different time zones are on different dates, and their countdowns differ by one until the second one's clock catches up.

Sources and date checked