Date Interval/Days Calculator

Calculate date intervals, business days, inclusive days, and date arithmetic

01

Choose a date range

The end date must not be earlier than the start date

Dates are calculated locally in your browser and are never uploaded

02

Date interval results

Business days are Monday through Friday and do not exclude public holidays

Days betweenStart date not included
Inclusive days
Business days (inclusive)
Weekend days (inclusive)
Weeks between

03

Date arithmetic

Count calendar days forward or backward from a date

Calculated date

A free date interval calculator—also called a days between dates tool or date difference calculator—answers one practical question: how many days separate two calendar dates? On Yaya Tools, pick a start date and an end date to see the day difference (end minus start), inclusive calendar days, Monday–Friday business days, weekend days, and a weeks-plus-days breakdown. The same page can add or subtract natural days from a base date. All math runs in your local browser; dates are never uploaded.

People search “how many days between two dates,” “days between dates,” or “business days calculator” when planning travel, project timelines, invoices, leave requests, or countdown milestones. Spreadsheets and “multiply hours by 24” shortcuts fail across daylight saving time and leap years. This calculator uses UTC day math on calendar dates, so a day is a date boundary—not a fixed 24-hour clock span. Results stay stable whether your region observes DST or not.

What is a date interval / days between dates calculator?

A date interval calculator takes two calendar dates and reports the span between them. At minimum it should return days between dates. A useful date difference calculator also shows:

  • Days between — end − start, excluding the start day (May 1 → May 2 = 1)
  • Inclusive days — days between + 1 (both endpoints count)
  • Business days — Monday through Friday only, with no holiday calendar
  • Weekend days — Saturday and Sunday within the inclusive range
  • Weeks and leftover days — whole weeks from the day difference, plus remainder
  • Date add / subtract — move forward or backward by natural days from a base date

Yaya Tools’ date interval calculator covers all of those outputs on one page. It does not import national holidays, company blackout days, or “make-up workdays.” Business-day counts are weekday filters only—ideal for generic estimates, not jurisdiction-specific payroll or court deadlines.

Because processing stays local, you can check personal or work dates on a shared device without creating an account. Closing the tab clears the session; the site does not keep a history of the dates you typed.

How to use this date difference calculator

The workflow is short so you can answer “how many days between two dates?” in a few taps.

  1. Open the date interval calculator on Yaya Tools.
  2. Enter the start date and end date. The end date must not be earlier than the start date.
  3. Optionally click Set end to today to snap the end field to today’s local calendar date, or Reset example to restore the sample range.
  4. Read the results: days between, inclusive days, business days (inclusive), weekend days (inclusive), and weeks + leftover days.
  5. In the date add / subtract section, pick a base date, enter an integer day offset, choose after or before, and read the resulting calendar date.

Results refresh when the range fields change. If the end date is before the start date, numeric results clear and a status message asks you to fix the order.

Privacy note: dates are calculated only in your current browser. Nothing is sent to a Yaya Tools server by this page.

Tip: need completed years, months, and days with a next-birthday countdown instead of a plain interval? Use the age calculator. Have a Unix timestamp from logs or an API? Convert it to a calendar date with the timestamp tool first, then enter that date here.

Days between dates: end minus start

The primary metric is days between (相隔天数 on the Chinese UI):

Days between = end date − start date

The difference is computed from calendar dates (year, month, day) using UTC midnight for each date. The start day itself is not included. Same-day pairs yield 0. The next calendar day yields 1.

Worked examples

Start End Days between Inclusive days
May 1 May 1 0 1
May 1 May 2 1 2
January 1 January 8 7 8
2024-02-28 2024-03-01 2 3 (leap day Feb 29 is in the inclusive span)

This matches a common “how many midnights passed?” definition: the count of date boundaries between the two dates, not an inclusive count of both endpoints. It is the number most people mean when they say “how many days between two dates” in countdown or deadline language (“there is 1 day between Monday and Tuesday”).

Inclusive days = days between + 1. Use inclusive days when both the start and end dates count toward a schedule—hotel nights vs calendar nights can differ by product rules, but for “how many calendar dates does this booking cover if both ends count,” inclusive days is the transparent answer this tool shows.

The page also reports weeks and leftover days from the day-difference value:

Whole weeks = floor(days between ÷ 7)
Leftover days = days between mod 7

So a 10-day difference displays as 1 week and 3 days. That packaging does not change the underlying day count; it only makes longer spans easier to read.

Business days calculator (Mon–Fri only)

The business days field answers a different question: how many weekdays fall in the inclusive range from start through end?

For each calendar day from start to end (inclusive):
  if weekday is Monday–Friday → count as a business day
Weekend days (inclusive) = inclusive days − business days

Important product rules:

  • Monday–Friday only. Saturday and Sunday never count as business days.
  • No holidays. Public holidays, floating observances, and regional “make-up” weekdays are not subtracted or added.
  • Inclusive endpoints. If the start or end falls on a weekday, that day is included in the business-day total (same loop as weekend counting).

Why this is still useful without a holiday calendar

A holiday-aware calendar needs a country, subdivision, and year-specific dataset. Those rules change every year and differ by employer. This business days calculator stays deliberately generic: it gives a weekday skeleton you can adjust by hand when you know local holidays. For rough project buffers, sprint length estimates, and “about how many weekdays is this?” questions, Mon–Fri filtering is usually enough.

If your deadline is legal, contractual, or payroll-related, confirm against the official calendar that applies to your jurisdiction. Do not treat this page’s business-day number as a binding SLA or court-day count.

Quick weekday example

Suppose start = Monday and end = the following Sunday (7 days between, 8 inclusive days). Inclusive weekdays are Mon–Fri (5 business days). Weekend days = 8 − 5 = 2 (Saturday and Sunday). Change the start or end onto a weekend and the inclusive business-day total shifts accordingly because endpoints participate in the loop.

Date add and subtract by natural days

Below the interval results, the date add / subtract panel answers: “What date is N natural days after (or before) this base date?”

  1. Choose a base date.
  2. Enter an integer day count (negative values reverse the chosen direction).
  3. Select after (add) or before (subtract).
  4. Read the resulting date, formatted with weekday for clarity.

Natural-day arithmetic means the tool advances the calendar date by N days—not by N × 24 hours on a local wall clock. Crossing a daylight saving transition does not skip or duplicate a calendar date. Leap days are included when they exist in the UTC calendar sequence.

Typical uses:

  • Invoice due date = invoice date + 30 natural days
  • Reminder = event date − 7 natural days
  • Milestone = project start + 90 natural days

For meeting times across cities rather than pure date math, use the timezone meeting planner (tool slug timezone-planner). That page focuses on overlapping local times; this page focuses on calendar day counts and date offsets.

Calendar dates via UTC day math (DST-safe)

A common bug in homemade “days between dates” scripts is:

(endTimestamp − startTimestamp) ÷ (24 × 60 × 60 × 1000)

when startTimestamp and endTimestamp are local midnights. Across a spring-forward or fall-back DST change, that interval may be 23 or 25 hours, so the rounded day count can be wrong.

Yaya Tools avoids that class of error by:

  1. Parsing each YYYY-MM-DD input into a UTC calendar date (year, month, day at UTC midnight).
  2. Measuring the span as a multiple of a fixed day constant (86400000 ms) between those UTC dates.
  3. Walking inclusive ranges with setUTCDate so weekday classification uses the UTC calendar day of week.

The UI still feels local: “today” is derived from your browser’s local year/month/day, then converted into the same UTC day representation. You pick ordinary calendar dates; you do not enter hours or time zones for the interval itself. The result is “how many calendar dates apart,” which is what most days between dates searches want.

If your source value is a Unix timestamp with a time component, convert it with the timestamp converter, decide which calendar date that instant maps to in your context, then paste that date into this calculator.

Worked examples you can verify by hand

Example 1: Classic “how many days between two dates?”

  • Start: May 1
  • End: May 2

Days between = 1. Inclusive days = 2. That is the definition printed on the tool: the start day is excluded from the difference, then restored when you need both ends.

Example 2: One full week difference

  • Start: 2026-01-01
  • End: 2026-01-08

Days between = 71 week 0 leftover days. Inclusive days = 8. Business and weekend totals depend on which weekdays those eight dates fall on; the tool enumerates them instead of assuming a fixed 5/2 split for every week-aligned range (endpoint weekdays matter).

Example 3: Same start and end

  • Start = End = any single date

Days between = 0. Inclusive days = 1. Business days = 1 if that date is Mon–Fri, else 0. Weekend days = the complementary count.

Example 4: Date add across a month boundary

  • Base: January 20
  • Offset: 15, direction: after

Result: February 4 (in a non-leap or leap year alike for this particular pair). The tool does not “stop” at month end; it continues through the next month’s days.

Example 5: Subtract with a negative offset

Choosing after with a negative offset moves backward; choosing before with a negative offset moves forward. The product accepts integer offsets in either direction so you can express “minus days” either via the direction control or via sign.

Common mistakes when counting days between dates

Including both endpoints when you meant a difference. If May 1 to May 2 should be “1 day apart,” use days between. If both dates should count toward a length-of-stay style total, use inclusive days.

Treating business days as “weekdays minus holidays.” This calculator never subtracts holidays. Adjust manually when your region observes public holidays.

Dividing local timestamps by 24 hours. DST can break that method. Prefer calendar/UTC day math as this page does.

Assuming every week contributes exactly 5 business days. Inclusive ranges that start or end on a weekend change the Mon–Fri total. Trust the enumerated count.

Confusing natural-day add with business-day add. Adding 10 natural days always advances the calendar by 10 dates. It does not skip weekends. There is no “add N business days” mode on this page—only weekday counting for an existing range, plus natural-day add/subtract.

Using age-style years/months for project spans. Completed years and months belong on the age calculator. Interval planning usually wants raw days, inclusive days, or business days.

Ignoring time zones for cross-city meetings. Day counts do not tell you whether 9:00 in one city overlaps 9:00 in another. Use the timezone meeting planner for that.

Need Tool
Days / business days / date ± N Date interval calculator
Age in years, months, days + next birthday Age calculator
Unix / ISO timestamp ↔ local time Timestamp
Find overlapping meeting hours across zones Timezone meeting planner

Use this page as your primary date difference calculator and business days calculator for calendar ranges. Switch tools when the question changes from “how many days?” to “how old?” or “what time is that meeting elsewhere?”

Sources and methodology

The calculator uses browser date arithmetic based on the proleptic Gregorian calendar. The ECMAScript Date specification defines the calendar model, leap-year rules, and the 86,400,000-millisecond nominal day used by JavaScript date values. This tool normalizes calendar-only inputs to avoid treating a daylight-saving clock change as a shorter or longer civil date interval.

“Business days” here means Monday through Friday only. It does not include country-specific public holidays, emergency closures, contractual calendars, or legal filing rules. Confirm deadlines with the governing institution or jurisdiction.

Frequently asked questions

How many days between two dates does this calculator use?

It uses end date − start date on calendar dates. The start day is excluded, so May 1 to May 2 is 1 day between. Same dates yield 0.

What is the difference between days between and inclusive days?

Days between counts the gap (excludes the start day). Inclusive days = days between + 1 and counts both the start and end dates. Use inclusive days when both endpoints belong in the total.

How do I calculate days between dates on this page?

Enter a start date and an end date (end not earlier than start). The tool instantly shows days between, inclusive days, business days, weekend days, and weeks plus leftover days. Optionally set the end date to today with one click.

Is this a business days calculator with holidays?

It is a business days calculator for Monday–Friday only. It does not remove public holidays or add make-up workdays. For holiday-sensitive deadlines, adjust the weekday total using your local official calendar.

Are business days and weekend days inclusive?

Yes. The tool walks every calendar day from start through end. Weekdays (Mon–Fri) increase the business-day count; Saturdays and Sundays increase the weekend count. Weekend days also equal inclusive days minus business days.

How are weeks calculated?

Whole weeks = floor(days between ÷ 7). Leftover days = days between modulo 7. The display is a readable packaging of the same day difference, not a separate inclusive-week rule.

Does daylight saving time affect the day count?

No. The calculator uses UTC calendar-day math, not local 24-hour duration math. Crossing a DST change does not add or remove a calendar day from the difference.

Can I add or subtract days from a date?

Yes. In the date add/subtract section, choose a base date, an integer offset, and after/before. Negative offsets reverse the selected direction. Results are natural calendar days.

Does date add skip weekends?

No. Natural-day add/subtract moves by calendar dates only. Weekends and holidays are not skipped. Business-day filtering applies only to the range summary, not to the add/subtract result.

Can the end date be earlier than the start date?

No. If the end is before the start, results clear and a status message asks you to correct the order. Swap the dates if you accidentally reversed them.

Does the calculator store my dates?

No. All calculations run in your local browser session and are not uploaded by this page.

How is this different from an age calculator?

The age calculator reports completed years, months, and days plus next birthday. This date interval calculator focuses on day differences, inclusive counts, business/weekend days, and date offsets—better for project and schedule math.

I have a Unix timestamp—can I use it here?

Convert the timestamp to a calendar date with the timestamp tool first, then enter that date as start, end, or base. This page does not accept raw Unix seconds or milliseconds.

When should I use the timezone meeting planner instead?

Use the timezone meeting planner when you care about overlapping local clock times across cities. Use this page when you care about how many calendar days, weekdays, or natural-day offsets separate two dates.

Is the result legal or payroll advice?

No. Results are transparent calendar math for planning and education. Court days, payroll periods, and contractual business-day definitions may exclude holidays or use different inclusive rules—confirm those separately.