Days Until Date Counter | Count Days to Any Future Date

🗓️ Date and Time Free Forever

Days Until Date Counter Count Down to Any Date Free

Count exactly how many days, weeks, months, hours, and minutes until any future date or event. Toggle business days, set a start date, and save multiple countdowns all at once.

Target date
Event name (optional)
Start from (optional)
Include time
Quick:
About This Tool

A countdown that counts more than days

Pick a date and get the gap in every unit that matters: total days, hours, minutes, business days, and a proper year month week day breakdown. Set a start date as well and you get a progress bar showing how far through the interval you already are, which is usually the more useful number when you are managing a deadline rather than waiting for a birthday.

Project kickoff62 percent elapsedLaunch day
1 Martoday30 Jun
47Days
1,128Hours
67,680Minutes
34Business days
6.7Weeks

Two calculations running in parallel

Countdowns need both an absolute measure and a calendar measure, and the tool computes them separately because neither can be derived from the other.

// absolute: pure elapsed time ms = target – from totalDays = floor(abs(ms) / 86400000) totalHrs = floor(abs(ms) / 3600000) totalMins = floor(abs(ms) / 60000) // calendar: how a person would say it years = target.year – from.year months = target.month – from.month days = target.day – from.day // borrow using the real length of the // month preceding the target date if (days < 0) { months–; days += daysInPrevMonth; } if (months < 0) { years–; months += 12; }

Note the floor on the absolute counts. A countdown showing 47 days should mean 47 full days remain, not 46.6 rounded up. Rounding up would show one more day than you actually have, which for a deadline is the wrong direction to be wrong in.

The sign, and counting backwards

If the target has already passed, the millisecond gap goes negative. Rather than showing a minus sign, the tool flips the wording to days since and switches the styling. The arithmetic is identical, just mirrored. That makes it equally usable as an anniversary counter or a days sober tracker as it is as a deadline countdown.

Business day counting

The business day figure walks the range and counts only Monday through Friday. It starts from the day after the start date, which matches how lead times are normally quoted.

bizDays(from, to) { var count = 0, cur = from; cur.setDate(cur.getDate() + 1); // exclude the start while (cur <= to) { var d = cur.getDay(); if (d !== 0 && d !== 6) count++; // 0=Sun 6=Sat cur.setDate(cur.getDate() + 1); } return count; }

This does not subtract public holidays, because holidays vary by country and region and there is no defensible default. If your deadline is regulatory, subtract them manually or use a working days calculator with a holiday list.

Time of day precision

Leave the time field empty and the target resolves to midnight at the start of the day. Set a time and the countdown becomes precise to the minute. That distinction matters more than it sounds. A submission deadline of 5pm on Friday is nine hours earlier than the same deadline treated as end of day, and countdowns that ignore time routinely mislead people by exactly that margin.

All calculation happens in your browser’s local time zone. If your deadline is set in another country’s local time, convert it first. A midnight deadline in Anywhere on Earth time, which many academic conferences use, is UTC-12 and lands nearly a full day after midnight in most of Europe. Getting this wrong is the single most common way people miss a submission they thought they had made in time.

The progress bar

Set a start date and the tool computes elapsed proportion as a straightforward ratio of milliseconds.

pct = (now – start) / (target – start) * 100 pct = clamp(pct, 0, 100)

Clamping matters. Before the start date the raw value is negative, after the target it exceeds 100, and neither renders sensibly in a progress bar. This is the same calculation behind burndown charts and fundraising thermometers, which is worth knowing if you want to reproduce it in a spreadsheet.

Saved countdowns

Saved entries live in the page’s memory for the current session only. Nothing is written to disk, nothing goes to a server, and refreshing the page clears the list. That is a privacy choice rather than a limitation. Countdown labels tend to be personal, and a tool that quietly persists them is holding data it has no reason to hold.

Reproducing this elsewhere

EnvironmentApproach
Excel=A1-TODAY() for days. =NETWORKDAYS(TODAY(),A1) for business days. Format the result cell as a number, not a date, or you get 1900 dates.
Google SheetsSame functions. =DAYS(A1,TODAY()) is more explicit and less prone to formatting surprises.
JavaScriptMath.floor((target - Date.now()) / 86400000), or differenceInCalendarDays if you want calendar days rather than 24 hour periods. These differ across daylight saving boundaries.
Python(target - date.today()).days returns an integer directly from the timedelta.
SQLPostgres target - CURRENT_DATE. MySQL DATEDIFF(target, CURDATE()).

Further reading

Common uses

Project and product launch countdowns, exam and coursework deadlines, visa and passport expiry, contract renewal windows, notice periods, wedding and holiday planning, retirement dates, sobriety and habit streaks, warranty expiry, tax filing deadlines, and tracking how long until a subscription auto renews so you can cancel it in time.

Common Questions

Questions About the Days Until Date Counter

Enter your target date in the date picker above and click Calculate. The tool instantly shows the total number of days remaining, plus the breakdown into years, months, weeks, and leftover days. For common events like Christmas or New Year, use the quick preset buttons to fill in the date automatically.

Calendar days count every day including weekends. Business days exclude Saturdays and Sundays, so they represent working days only. Toggle the “Business days only” checkbox to switch between the two. For legal deadlines, contract terms, and project management timelines, business days are usually the relevant measure.

Yes. Fill in the “Start from” field with any date, and the counter will calculate days between that start date and your target date instead of counting from today. This is useful for planning project durations, measuring elapsed time, or counting between two historical dates.

Click the Christmas preset button in the tool, it auto sets December 25 of the next applicable year and shows the exact day count. The tool always calculates from the current moment, so the number updates each time you open it.

Yes. After calculating, click “Save countdown” to pin the event below the main calculator. You can add as many as you need, each displays its name, target date, and days remaining. Saved countdowns stay visible for the current browser session.

The tool handles past dates and shows how many days ago the date was, with a distinct visual indicator. This is useful for calculating anniversaries, elapsed time since a launch or event, or days since a contract was signed.

The counter calculates the number of full days remaining from the start of today (midnight) to the start of the target date. If you set a specific target time, it counts from the current moment to that exact time. This matches how most project management and planning tools define “days remaining.”

No. All calculations happen entirely in your browser. No dates, event names, or results are sent to any server. Saved countdowns exist only in your current browser session and are cleared when you close the tab.

From the blog

Date and time, explained properly

Longer write ups on the calendar problems these tools solve, from ISO week numbering to scheduling across time zones.

Privacy Overview

Cookies let this site remember your preferences and show us which tools people actually use. Full detail sits in our Privacy Policy.