- Home
- Core Time Math
- Add / Subtract Time Calculator
Add / Subtract Time Calculator
Add or subtract a duration from a time to find the resulting time, with a clear day rollover when it crosses midnight. Use date and time zone mode when the result needs to account for a daylight-saving transition.
Worked example
Starting at 23:30 and adding 2h45m lands on 02:15, one day later: 23:30 is 84,600 seconds since midnight; adding 9,900 seconds (2h45m) gives 94,500 seconds, which is 8,100 seconds past the 86,400-second day boundary, i.e. 02:15 the next day. Subtracting instead of adding works the same way in reverse: 00:15 minus 30 minutes lands on 23:45 the previous day.
Rollover and time zones
Clock-only mode wraps the result at 24 hours and reports how many days it moved, with no date or time zone involved. Date and time zone mode resolves the base as a real instant first, so a duration added across a daylight-saving transition reflects real elapsed time, not a naive wall-clock shift.
Common mistakes
- Assuming subtracting a duration always lands on the same day; it can move the result to the previous calendar day.
- Mixing up "duration to add" with a target time; this calculator adds an elapsed amount, not a specific clock time.
Limitations
This is calendar and clock arithmetic only. It does not determine a payroll, contract, or compliance deadline.
Frequently asked questions
- Can I subtract instead of add?
- Yes, choose "Subtract" from the direction control.
- How do I know if the result moved to a different day?
- The result states the day rollover explicitly, such as "1 day later" or "1 day earlier."