Agenvix Enterprise Suite
Time Span Studio

Date Difference Calculator & Day Counter

Count the days, weeks, months and years between two dates, exclude weekends and your own holidays for business-day counts, and add or subtract durations to find deadlines, all computed in your local calendar.

How It Works
Business Days
Add / Subtract Dates
Calendar-Accurate
Zero Server Logs
Agenvix Studio v2.0
Span Calculated2026-01-01 → 2026-12-25
Total:
358 days • 51 weeks 1 day
Calendar:
11 months 24 days
Business days:
256 (weekends excluded)
● Thursday → FridayNo leap day in range
Quick Test Presets:Click to load
Thursday → Friday
100% Free

Date Calculator Workspace

Pick two dates to measure the gap, or start from one date and add a duration. Holidays are optional.

Total days
—
Weeks
—
Business days
—
Hours
—
Summary
Output will appear here...

Why People Use the Agenvix Date Difference Calculator

Calendar maths is full of edge cases; this tool handles them for you.

Calendar-Accurate Months

Years, months and days are computed on the real calendar, so Jan 31 to Mar 1 is reported correctly instead of as 30-day months.

Working Days with Holidays

Exclude Saturdays and Sundays automatically and paste your own public holidays for contract, payroll and SLA deadlines.

Deadline Finder

Add or subtract days, weeks, months, years or business days from any date to get the exact due date and weekday.

Local Time Zone Safe

Dates are handled as local calendar days, avoiding the off-by-one errors that UTC-based tools produce around midnight.

Simple as 1-2-3

How the Calculator Works

Three steps to an exact answer.

01

Choose the Dates

Pick a start and end date. Decide whether the end date itself counts (inclusive) for things like hotel nights versus rental days.

02

Set Working-Day Rules

Optionally paste holidays as YYYY-MM-DD, one per line, to exclude them from the business-day count.

03

Read or Copy the Summary

Total days, weeks, months, years, hours and business days are shown at once; copy the summary for an email or ticket.

Calculation Rules

How Each Figure Is Computed

Definitions used by the calculator so results are reproducible.

Feature / SpecificationBest Use CaseEngine / Output StandardPrivacy & SecurityPerformance RatingAction
Total daysRentals, countdowns, SLAsWhole local calendar daysDST-safeExact
Years / months / daysTenure, contracts, agesCalendar borrow methodMonth lengths respectedExact
Weeks + daysPregnancy, sprints, training plansfloor(days ÷ 7)Remainder shownExact
Business daysDeadlines, payroll, shippingMon–Fri minus holidaysYour holiday listConfigurable
Inclusive countingEvent days, leave requestsAdds the end dateToggleOptional
Add / subtractDue dates, expiry, notice periodsMonth-end clamped (Jan 31 + 1 month = Feb 28/29)Calendar-awareExact
Comprehensive Guide

Counting Days Correctly

1. Inclusive vs exclusive counting

From Monday to Friday is four days if you count the gap (exclusive) and five if you count both ends (inclusive). Hotel nights, interest and age use exclusive counting; leave requests, event durations and billing days are usually inclusive. The calculator defaults to exclusive and lets you flip the switch, showing the effect on every figure.

2. Why months are tricky

Months have 28 to 31 days, so "one month later" is ambiguous at month end. The calculator follows the convention used by most calendar software:

  • Adding months keeps the day of month when possible and clamps to the last day otherwise: Jan 31 + 1 month = Feb 28 (or 29).
  • Differences borrow from the real previous month, so Jan 31 → Mar 1 is 1 month 1 day in a non-leap year.

3. Business days and holidays

Working-day counts exclude Saturdays and Sundays. Public holidays vary by country and year, so there is no universal list; paste the dates that apply to you as YYYY-MM-DD and they are skipped in both the count and the add-business-days mode. For regions with Friday–Saturday weekends, count the days manually from the total or adapt the holiday list.

4. Time zones and daylight saving

Many online calculators subtract timestamps and divide by 24 hours, which breaks around daylight-saving transitions and can be off by one near midnight when the server is in another time zone. This tool compares calendar dates in your browser's local zone, so a 23-hour or 25-hour day still counts as one day. Hours and minutes are shown for reference as exact 24-hour multiples.

Frequently Asked Questions

Everything you need to know about date differences

Counting rules, business days, months and accuracy.

How many days are between two dates?

Pick the start and end date and read the Total days figure. By default the end date is not counted; enable Include end date to add it, which matters for leave requests and event durations.

How are business days calculated?

Every date in the range is checked; Saturdays, Sundays and any dates in your holiday list are skipped. The same rule is used when adding business days to a date.

Why does the month count not match days ÷ 30?

Because months have different lengths. The calculator counts whole calendar months first, then the remaining days using the actual length of the preceding month, matching how spreadsheets and HR systems compute tenure.

What happens when I add one month to January 31?

The result is clamped to the last day of February (28 or 29). Adding another month goes to March 31 only if you start again from the original date; chained additions from Feb 28 give Mar 28, which is the convention in most calendar software.

Does the calculator handle leap years?

Yes. Leap days are counted naturally in the day total and the number of February 29ths inside the range is shown separately.

Can I calculate a past date, for example 90 days ago?

Yes. In Add / subtract mode enter a negative number or choose Subtract; the resulting date and weekday are shown.

Which date format should I use for holidays?

YYYY-MM-DD, one per line or separated by commas, for example 2026-12-25. Invalid entries are listed so you can fix them.

Is my data stored?

No. All calculations run in your browser; nothing is transmitted.