UOhMyUnit

Date Difference

Pick two dates and see the gap in days, business days, weeks, months, and years.

Total days

0

Business days

0

Weeks

0

Months

0

Years

0

How it works

Total days come from a millisecond subtraction. Business days iterate one day at a time, counting Monday through Friday. Months and years use the same calendar-aware arithmetic as the Age calculator.

FAQ

What counts as a "business day"? Monday through Friday. Public holidays are NOT excluded — that varies by country and would need a calendar dataset per region. If you need workday counts that exclude holidays, subtract the relevant holiday count manually.

Why does "months" sometimes look wrong? Months are calendar-aware: April 15 → May 15 is exactly 1 month, even though it is 30 days. April 15 → May 14 is 0 months and 29 days. The "months" stat shows full calendar months only.

Does it matter which date is first? No. The tool flips the dates internally if "from" is after "to" so the result is always non-negative.

You might also like

Part of the OhMy* tools family