DateTimeTools
UTC

Day Counter

Count exact calendar days between two dates, check days from today, and see weeks, weekdays, and total hours—instantly in your browser.

The DateTimeTools Day Counter counts the exact number of calendar days between any two dates—or tells you how many days remain until (or have passed since) a target date from today. Everything runs 100% locally in your browser with no sign-up, no ads, no app download, and no daily usage limits.

How to Use the Day Counter

  1. Pick a Start Date and End Date: Click Today on either field to snap immediately to today's date, or enter any past or future calendar date.
  2. Use Quick Presets (+30, +90, +365 Days): Click +30 days from start, +90 days from start, or +365 days from start to project 30-day notice periods, 90-day quarters, or 1-year milestones in one click.
  3. Toggle End-Date Inclusion: Leave Include end date (+1 day) unchecked to measure elapsed days between dates, or check it when both the start and end dates count toward the total.
  4. Copy Results: Click Copy on any output card to grab total days, weeks and remaining days, weekdays vs. weekends, or total hours.

Counting Days From Today (Countdowns & Elapsed Days)

One of the most common uses of a day counter is answering "how many days until a deadline?" or "how many days since a launch date?":

  • Countdown to a Future Date: Leave Start Date set to Today and pick your future event date as End Date. If today is 2026-11-27 and your target is 2026-12-25, the counter reports 28 days (4 weeks, 0 days).
  • Days Elapsed Since a Past Date: Set Start Date to a past milestone (such as 2026-01-01) and click Today on End Date to see exact elapsed days, weeks, and weekdays.
  • Reverse Order Handling: If your End Date is earlier than your Start Date, the Day Counter still computes the exact span and prefixes the total with a minus sign (-).

Include End Date (+1 Day) vs. Exclude End Date

Whether a date span includes the final day depends on your use case:

Scenario Include End Date? Example (Mon to Fri, same week)
Hotel nights, countdowns, elapsed days Unchecked (exclusive) 4 days
Event duration, leave days, inclusive ranges Checked (inclusive) 5 days

If you only want to count Monday-to-Friday working days while excluding public or company holidays, switch to our Business Days Calculator. If you also need hours, minutes, and seconds broken down alongside years and months, use the Date Difference Calculator.

Weekdays, Weekends, and Leap Year Accuracy

Alongside the total day count, the Day Counter automatically splits the range into weekdays (Monday–Friday) and weekend days (Saturday–Sunday). Because all date arithmetic uses UTC calendar days (Date.UTC), Daylight Saving Time transitions (23-hour spring days and 25-hour autumn days) never cause off-by-one rounding errors, and leap years (such as February 29, 2024 or 2028) are counted accurately.

Common Use Cases for a Day Counter

  • 90-Day Probation & Trial Periods: Check the exact calendar date 90 days from a hire or subscription start date.
  • Visa, Travel & Residency Tracking: Count exact days spent inside a region with inclusive start and end dates checked.
  • Billing Cycles & Contract Renewals: Verify whether a quarter has 90, 91, or 92 days before generating prorated invoices.
  • Project & Exam Countdowns: Track days and weeks remaining until a release date or exam.

All calculations stay strictly inside your browser—no dates are uploaded or logged to any server.

Related Date & Time Tools

Frequently Asked Questions

Should I check Include end date when counting days?

Leave Include end date unchecked for countdowns and elapsed days (for example, Monday to Friday = 4 days). Check Include end date when both the start and end dates count toward the total (Monday to Friday = 5 days).

How do I count days from today until a future date?

Leave Start Date set to Today (or click the Today button), select your target date in End Date, and the Day Counter immediately shows total days, weeks and days, and weekdays.

Does the Day Counter account for leap years?

Yes. All calendar math runs in UTC calendar days, so leap years (including February 29) are counted automatically without Daylight Saving Time off-by-one bugs.

How do I exclude weekends and holidays from my day count?

Use the Business Days Calculator (/business-days-calculator) to count Monday-to-Friday working days and exclude custom public or company holidays.