I inbrowser.sh

Date Difference Calculator

Calculate days, hours, minutes, weekends and rough business days between dates.

100% client-side No upload Free · no signup

Quick answer

Date Difference runs locally in your browser for quick developer formatting, conversion or inspection work. Date Difference calculates the interval between two dates in days, hours and minutes, with simple weekday and weekend counts for planning.

Days: 7
Hours: 168
Minutes: 10080
Weekdays: 5
Weekend days: 2

What is Date Difference?

Date Difference calculates the interval between two dates in days, hours and minutes, with simple weekday and weekend counts for planning.

How to use

  1. Enter the start date and end date.
  2. Read the total duration and calendar-day difference.
  3. Use the weekday count as a rough business-day estimate.

Example

Use this sample to confirm what Date Difference does before pasting your own data.

Input
2026-06-01 to 2026-06-29
Output
28 calendar days, with weekday/weekend counts.

When to use it

Use Date Difference for quick local checks, debugging, documentation prep, and one-off conversions where opening a full IDE or command-line workflow would be slower. For production-critical data, always review the output before committing or shipping it.

Frequently asked questions

Are holidays excluded?

No. Weekday counts exclude Saturdays and Sundays only.

Is the end date included?

The duration is measured from the start instant to the end instant.

Does it run locally?

Yes. Date math runs in your browser.