ez·time

── a quiet terminal for time math ──

duration

how much time sits between two moments?


[start]
[end]
[ output ]
› 4 days, 3 hours

total seconds
356,400
total minutes
5,940
total hours
99.00
total days
4.125
weeks
0.59

── about this calculator ──

The duration calculator finds the exact span of time between two moments. It is the right tool for project deadlines, contract terms, anniversaries, billable-hour totals across a date range, and any "how long was that?" question. The math is simple subtraction in milliseconds, but two things make it tricky in real life: daylight-saving transitions and the difference between calendar days and business days. We handle both. DST is handled automatically by your browser's timezone database; business days are calculated by counting the number of Mondays through Fridays inclusive between the two dates.

The "total days" row in the breakdown is shown as a decimal so you can use it directly in spreadsheets — for example, 3.5 means three days and twelve hours. The "weeks" row uses the same convention.

[ worked example ]
input › 2026-01-15 09:00 → 2026-01-22 17:30
output › 7 days, 8 hours, 30 minutes · 5 business days
DST does not apply in this window, so the totals are exact.

── frequently asked ──

› How do I calculate the duration between two dates?
Pick a start date and time, then an end date and time. The calculator updates instantly with the total in days, hours, minutes, and seconds, plus weeks and totals in each unit.
› What counts as a business day?
We count Monday through Friday as business days and exclude Saturday and Sunday. Public holidays vary by country and are not subtracted automatically — if you need that, subtract them manually using the add/subtract calculator.
› Does it handle daylight-saving time?
Yes. Calculations use your browser's local timezone and the IANA timezone database, so a span that crosses a DST boundary will correctly be one hour shorter or longer.
› Can the duration be negative?
Yes. If your end date is before your start date, the result is shown with a leading minus sign and the absolute breakdown below it.
› Is my data sent to a server?
No. Every calculation runs locally in your browser. The dates you enter never leave your device.