Time Add Subtract Calculator
Add or subtract years, months, days, hours, minutes and seconds from any date. Calendar-aware with overflow rollover, a business-days mode and ISO 8601 output.
Time Add Subtract Calculator - Add or Subtract Time Duration
The Time Add/Subtract Calculator is the date-math tool you reach for when mental arithmetic fails: 'what's 4 hours 35 minutes from now?', 'subtract 18 working days from a delivery deadline?', 'when is exactly 90 days before my next visa renewal?'. It adds or subtracts years, months, days, hours, minutes and seconds using calendar-aware rules — leap days and varying month lengths are handled, and overflow rolls over correctly (23:30 + 1 hour crosses into the next day). A business-days mode lets the Days field count working days only, skipping weekends and optional US, UK or Vietnam public holidays so the result lands on the next valid business day. Every result also shows the weekday name and an ISO 8601 duration string (PnYnMnDTnHnMnS) so deadlines are unambiguous to paste into filings, tickets or contracts. Project managers use it for milestone math, lawyers for statute-of-limitations counting, expectant parents for due dates, and editors for cumulative runtime. See also our Working Days Calculator and Lunar Calendar.
How does the business-days (skip weekends) mode count deadlines?
Tick 'Skip weekends' and the Days field is counted as working days instead of calendar days: the tool walks one day at a time in your chosen direction, skipping Saturday and Sunday (and any public holiday from the preset you select), and lands on the next valid business day. For example, adding 10 business days to a Friday skips two weekends and lands on the second Friday after. This matches how legal, SLA, payroll and project deadlines are usually expressed. Years, months, hours, minutes and seconds are still applied as normal calendar/clock units even in this mode — only the Days field becomes a working-day walk.
Which public holidays does the holiday preset cover?
We ship a built-in table of US federal holidays, UK bank holidays and Vietnam public holidays for the current year plus and minus two years. These are convenience presets, not legal advice: holiday calendars shift, regional holidays differ (Scotland and England diverge; US state holidays vary; Vietnam's Lunar New Year dates move each year), and statutory deadline rules sometimes roll a holiday differently. For binding legal or financial deadlines, always confirm against the controlling jurisdiction's official calendar.
How do you handle month arithmetic when the day doesn't exist (e.g., Jan 31 + 1 month)?
We use the clamping convention: Jan 31 + 1 month = Feb 28 (or 29 in a leap year), Aug 31 + 6 months = Feb 28. This matches JavaScript's Date.setMonth(), Excel's EDATE function, Oracle and PostgreSQL, and most users' intuition ('the same date next month, or the closest valid one'). Be careful chaining: clamping is not reversible — (Jan 31 + 1 month) − 1 month = Jan 28, not Jan 31. For reversible date math, use day offsets instead of month offsets.
Does the calculator handle leap years correctly?
Yes — it follows Gregorian rules: a year is a leap year if divisible by 4, except century years (1700, 1800, 1900) which must also be divisible by 400 (so 1900 is not a leap year but 2000 is); the next century leap-skip is 2100. February 29 + 1 year clamps to Feb 28 of the next year, and Feb 29, 2024 + 4 years gives Feb 29, 2028. This matters for birthdates: if you were born on Feb 29, your legal birthday in non-leap years is usually Feb 28, though some jurisdictions use Mar 1 — check your local law if age-related rights depend on it.

Does this tool account for time zones or daylight saving time?
No. This is calendar-and-clock arithmetic in your browser's local time: it adds the units you enter to the wall-clock value, so hours/minutes/seconds are added as wall-clock units, not as true UTC-elapsed seconds across a daylight-saving transition. That keeps results predictable and matches what most deadline and scheduling tasks need. If you must reason about a specific time zone or a DST changeover, convert the moment first with a dedicated timezone converter and then do the offset here.
What does the ISO 8601 duration in the result mean?
ISO 8601 expresses a duration as PnYnMnDTnHnMnS — for example, 2 years 3 months 10 days is P2Y3M10D, and 1 hour 30 minutes is PT1H30M (zero parts are omitted). It's the standard machine-readable format used by databases, APIs, calendars and project tools, so you can paste it straight into a ticket, contract clause or config file without ambiguity. We show it alongside the human-readable result and weekday name for exactly that copy-paste use case.
Can I chain multiple operations?
Yes — take the result of one calculation, type it back into the Start field, and run the next operation. So you can add 30 days, then subtract 4 hours, then add 2 weeks (14 days) in sequence. The tool is built for one clear answer at a time rather than batch processing; for spreadsheets of deadlines, Excel (EDATE, WORKDAY, NETWORKDAYS) or a short Python/JavaScript script with a date library is the better fit.
Key Features
- Add or subtract years, months, days, hours, minutes and seconds
- Calendar-aware month and leap-year handling
- Automatic overflow rollover (crosses midnight, month and year)
- Business-days mode: count Days as working days, skipping weekends
- Optional US, UK or Vietnam public-holiday presets
- Result weekday name for unambiguous deadlines
- ISO 8601 duration output (PnYnMnDTnHnMnS)
- Elapsed-time breakdown in multiple units
- Quick presets: Now, Today, Tomorrow
- Copy result (with weekday and ISO duration) to clipboard
- Mobile-friendly design
- Dark mode support
- 100% client-side processing, works offline
