← Date & time

Date Difference Calculator

Compute days between dates, count business days and working hours, and see a year‑month‑day breakdown. Optionally include the start date and copy a shareable result URL.

Other languages 日本語 | English | 简体中文 | 繁體中文 | 繁體中文(香港) | Español | Español (México) | Português (Brasil) | Português (Portugal) | Bahasa Indonesia | Tiếng Việt | 한국어 | Français | Deutsch | Svenska | Suomi | Dansk | Norsk bokmål | Italiano | Русский | हिन्दी | العربية | বাংলা | اردو | Türkçe | ไทย | Polski | Filipino | Bahasa Melayu | فارسی | Nederlands | Українська | עברית | Čeština

How to use (3 steps)

  1. Choose your start and end date & time. For simple day counts you can leave the time at 00:00.
  2. If needed, turn on “Include the start date” and adjust business‑day and working‑hours options.
  3. Press Calculate to see days, business days, working hours, and the year–month–day breakdown. Use “Copy result URL” if you want to reopen the same setup later.

This tool assumes your browser’s local time zone and does not fetch external calendar data.

Enter a start and end date & time to see totals here.

Choosing the right date difference output

Date difference can mean different things depending on context. Project planning often needs business days, billing often needs exact elapsed time, and age/tenure reporting may prefer years-months-days.

When to use each mode

Example

A task from Monday 10:00 to next Monday 10:00 is 7 days total, but can be 5 business days under a Mon–Fri schedule and custom holiday exclusions.

Always confirm regulatory or payroll calculations with official rules in your region.

Date difference outputs: pick the one your workflow actually uses

Two teams can calculate “the same” date range and still report different answers if they use different counting rules. Project management may prioritize business days, legal documents may care about inclusive calendar days, and payroll often relies on specific working-hour windows. Choose the output format before you interpret the number, then document that choice for consistency across reports.

How to choose the right mode

Common mistakes to avoid

Interpretation notes

If your process crosses daylight-saving boundaries or multiple time zones, verify assumptions before publishing totals. For operational dashboards, save one canonical policy (weekend set, holiday list, include-start toggle) and reuse it across teams to prevent reconciliation issues.

Mini policy example

A team reports SLA in business days while finance reports penalties in calendar days. For the same incident window, the totals differ and can appear contradictory unless policy labels are explicit. If you add one reporting note such as “Business days, Mon–Fri, holidays excluded, start included,” most disputes disappear. Use a fixed policy string whenever results are shared outside your immediate team.

When exporting results, store your weekend and holiday configuration with the output so future recalculations remain reproducible even after policy updates.

See also

FAQ

How is the date difference calculated?

We normalise each input to local noon to avoid daylight-saving shifts, then compute the gap. Selecting “Include the start date” keeps the first day in the total.

What counts as a business day?

When you enable business days, any weekday you mark as a weekend and any dates in the holiday list are removed from the count. Official national calendars will be offered later as presets.

How are working hours calculated?

The tool intersects your selected working-hours window with each business day between the start and end times. Time that falls outside the window is ignored automatically.

How are years, months, and days derived?

We advance the end date by one day (when inclusive) and subtract the calendar components to reflect a true year–month–day difference.

Inclusive vs exclusive difference?

Inclusive mode counts the first day when the dates differ; exclusive mode does not. Toggle the option to match your reporting needs.

Do time zones or DST affect results?

We normalise inputs to local noon to avoid DST boundaries. Business‑day counting ignores public holidays unless you add them to the list.