The Date Duration Calculator answers two everyday questions precisely: how long is it between these two dates? and what date is it if I add or subtract this much time? It is built for contract terms, project timelines, notice periods, visa stays, pregnancy and milestone tracking, age gaps, billing cycles and any situation where an approximate “about three months” simply will not do. Unlike a quick day-count, it gives you a true calendar breakdown — years, months, days, hours and minutes — alongside running totals so you can read the same span any way you need it.
How it works
In “Time between two dates” mode you pick a start and end datetime. The tool compares them unit by unit and borrows from the next-larger unit wherever a value goes negative — so the day count borrows the real length of the previous month, which is what makes the result correct across leap years and uneven months. It then reports the gap as total months, total weeks, total days, total hours and total minutes, and counts the business days (Monday to Friday) in between. If you enter the end before the start, it shows the absolute duration and flags the inversion rather than erroring.
In “Add / subtract a duration” mode you choose a base date, a direction, and any combination of years, months, weeks, days, hours and minutes. Calendar units are applied first — with the day clamped to the last valid day of the destination month so month-end arithmetic behaves — then exact units are applied in milliseconds. You instantly see the resulting datetime, its day of the week, and how many days were shifted.
Every result can be copied to your clipboard or saved to a history list that survives page reloads via local storage, and the whole history exports to CSV with one click.
Example
Say a fixed-term contract runs from 1 March 2026 to 30 November 2026. The calculator reports 8 months, 29 days — roughly 39 weeks, 274 days, and about 195 business days excluding weekends. Switch to add/subtract mode, set the base to 30 November 2026, and subtract 3 months to confirm the notice deadline lands on 30 August 2026 (a Sunday). Tick “include the end day” when both the first and last day count, such as counting hotel nights or annual-leave days, and the total nudges up by one.
| From | To | Calendar duration | Total days |
|---|---|---|---|
| 1 Jan 2026 | 1 Jan 2027 | 1 year | 365 |
| 1 Mar 2026 | 30 Nov 2026 | 8mo 29d | 274 |
| 15 Jun 2026 | 15 Sep 2026 | 3 months | 92 |
Every figure is computed in your browser — no dates are uploaded or stored on any server.