← 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 end 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 end 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.

Business day & working hours options

Pick which weekdays are treated as weekends, set your daily working window, and list any holidays to exclude.

Treat these weekdays as weekends

Checked days are excluded from business days. Clear all checkboxes to count every day. By default, Saturday and Sunday are treated as weekends.

Working hours

Specify the daily time window that counts as working time (HH:MM). By default, the window is 09:00–18:00.

Holidays / blackout dates

Enter YYYY-MM-DD values separated by commas or new lines.

Total duration

If you do not provide holidays, only the weekend settings are removed from the business-day count. Always confirm mission-critical schedules with official sources. This calculator assumes your browser's local time zone.

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-end 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. The start date is always counted. Selecting “Include the end date” adds the end date to day, business-day, and Y/M/D counts; it does not add 24 hours to Total duration.

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?

For the Y/M/D count, we advance the end date by one day when “Include the end date” is on, then subtract the calendar components.

Inclusive vs exclusive difference?

By default, the start date is counted and the end date is excluded. Inclusive mode also counts the end date.

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.