Loading tool...
Search for a command to run...
Calculate time between dates or add/subtract duration
Date Difference: Calculate exact duration between any two dates.
Add/Subtract: Find a date by adding or subtracting time from a base date.
Files never leave your device
Not available — would need cloud processing
Country-specific holiday calendars and custom work schedules require server-side databases with regularly updated data.
A duration calculator performs two complementary operations: it measures the exact time elapsed between two dates, and it computes a new date by adding or subtracting a specified duration from a starting point. Both operations sound simple but are deceptively complex when done manually, because calendar arithmetic involves irregularities that trip up mental calculations. Months have 28, 29, 30, or 31 days. Leap years add an extra day every four years (with exceptions for century years). This means that adding "one month" to January 31 has an ambiguous answer — February does not have a 31st day — and different systems resolve this differently.
Common scenarios where precise duration calculation matters: project managers tracking how many business days remain before a deadline; human resources departments calculating employee tenure for benefits eligibility; legal professionals computing statutory deadlines or limitation periods; travelers planning trips across time zones; health applications tracking treatment durations or medication intervals; and financial applications calculating interest periods or loan terms to the day.
When you calculate the difference between two dates, the result can be expressed in multiple units simultaneously. A gap of 400 days is also 57 weeks and 1 day, or 1 year, 1 month, and approximately 5 days (depending on which months are involved). The "correct" representation depends on context:
Total days is the most unambiguous unit. It does not depend on month lengths or leap year positions, and it maps cleanly to how computers represent time internally. If you are calculating a legal deadline, contract term, or any duration that is specified in days, use total days.
Years, months, and days broken out separately is more human-readable and useful for describing age, tenure, or relationship duration. "3 years, 4 months, 12 days" is more meaningful to most people than "1,228 days." However, this representation requires agreeing on how partial months are counted — the calculator uses calendar months (the same day of the month in each month counts as exactly one month), which matches the most common human interpretation.
Total hours, minutes, and seconds matter for time-sensitive calculations such as SLA (service level agreement) response windows, overtime pay calculations, or scientific elapsed-time measurements. Including time of day in both start and end produces precise results down to the second.
The second mode — add/subtract duration — answers questions like: "What date is 90 days from today?", "When does a 6-month subscription that started on March 15 expire?", or "What was the date 18 months before a given event?" These calculations are common in project planning, subscription management, warranty tracking, and medical follow-up scheduling.
A key consideration is how the tool handles month-end edge cases. Adding one month to January 31 should logically yield the last day of February (either Feb 28 or Feb 29 in a leap year). Adding one month to March 31 yields April 30 — the last day of April. This "end-of-month clamping" behavior is the standard approach and matches what most people intuitively expect. When using the duration calculator, the ISO 8601 output and Unix timestamp output for the result date make it easy to use the computed date in other systems, such as setting a deadline in a project management tool or scheduling a reminder.
Calculate the exact duration between any two dates and times
Add or subtract years, months, days, hours, minutes from any date
Results shown in years, months, days, hours, minutes, and seconds
See totals in weeks, days, hours, minutes, and seconds
Toggle time inclusion for date-only or date+time calculations
Get durations in standard ISO 8601 format (e.g., P1Y2M3D)
One-click 'Now' button to set current date/time, swap dates, and more
All calculations happen locally in your browser - data stays private
Choose Mode Select 'Date Difference' to find time between dates, or 'Add/Subtract' to calculate a new date
Enter Dates Enter start and end dates (and times if needed) using the date pickers
View Duration See the duration broken down into years, months, days, hours, minutes, seconds
Copy Totals Copy total days, hours, or other unit totals with one click
Toggle Time Use the 'Include Time' option for precise hour/minute calculations
Calculate exact time between two dates (years, months, days, hours, minutes, seconds) or add/subtract duration from a date. Get total days, hours, and seconds. 100% client-side.
| Feature | JumpTools | TimeAndDate | Calculator.net | OmniCalculator |
|---|---|---|---|---|
| Price | Free | Free (ads) | Free (ads) | Free / Premium |
| Privacy | 100% client-side | Server-side | Server-side | Server-side |
| Timezones Supported | 400+ | All IANA | Limited | Limited |
| DST Handling | Automatic | Automatic | Manual | Automatic |
| Offline Support | Yes | No | No | No |
| No Signup | Yes | Yes | Yes | Yes |
| Add/Subtract Duration | Yes | Yes | Limited | Yes |
| Total Conversions (days, hrs, sec) | Yes | Yes | Yes | Yes |