Toolvist

Add / Subtract Days from a Date

Add or subtract days, weeks, months from any date.

Resulting date
—

Add or Subtract Days from a Date

This calculator adds or subtracts days, weeks, months, or years from any date. Pick a start date, choose the amount and operation, and see the resulting date.

The neighbouring date tools are the Date Difference Calculator and the Age Calculator. When the result needs to become a timestamp, the Date to Unix Timestamp Converter converts it.

How to use the Add/Subtract Days

  1. 1 Enter the starting date.
  2. 2 Add or subtract an amount in days, weeks, months or years, or combine several units at once.
  3. 3 Read the resulting date, along with the day of the week and the number of days moved.
  4. 4 Use the weekday result to check whether the date lands on a weekend.

Uses and the DST edge

Date shifting covers a wide range of practical tasks: calculating a payment due date, a warranty expiry, a follow-up reminder, or the start of a pay period. Getting it right matters most where the result is a deadline, since an off-by-one error there is not merely untidy.

The daylight-saving edge is worth knowing about even though it does not affect pure date arithmetic. Adding exactly 24 hours to a timestamp is not the same as adding one calendar day, because one day a year is 23 hours long and another is 25. Calendar arithmetic handles this correctly; arithmetic on raw time intervals does not.

  • Add days, weeks, months and years in a single operation.
  • Month-end dates clamp to the last valid day of the target month.
  • Adding months is not reversible in every case.
  • Use calendar arithmetic rather than seconds when daylight saving is involved.

Frequently asked questions

What happens when adding a month to the 31st?

Month arithmetic is not straightforward, because not every month has 31 days. Adding one month to 31 January produces 28 February in a non-leap year, since that is the last valid day of the target month. The alternative convention — rolling forward into the next month — is not used, because it would skip a month entirely and produce a date the user did not ask for in a different month.

Does adding a month and then subtracting it return the original date?

Not always, and this is a genuine property of calendar arithmetic rather than a bug. Add one month to 31 January and you get 28 February. Subtract one month from 28 February and you get 28 January, not 31 January. The information that the original was the last day of the month was lost in the clamp. For period arithmetic that must round-trip, work in days or store the original day number separately.

Are there time-of-day issues to worry about?

Only if you are mixing date arithmetic with time zones. A date with no time attached is unambiguous. The moment a specific hour is involved, a shift can move a calculated date across midnight in a different time zone, which is how systems end up one day out for users in another country.

Related Calculators

Browse all Calculators →

You might also need

Tools from other categories that people pair with the Add/Subtract Days:

Browse the full tool directory →