Skip to content
NexUnit home
EnglishEspañol

Add or Subtract Days

Add or subtract days, weeks, months or years from a date.

Result

Saturday, February 28, 2026

ISO date
2026-02-28

Show the work

  1. Move the calendar by whole months (a short month keeps its last day)

    date + (years × 12 + months) months

    Saturday, January 31, 2026 + (0 × 12 + 1) months = Saturday, February 28, 2026

How it works

Months and years move the calendar date (clamped to the month's last day); weeks and days add 7 and 1 days

Questions

How does the add or subtract days work?
Months and years move the calendar date (clamped to the month's last day); weeks and days add 7 and 1 days.
What do I need to enter?
Start date, Operation, Years, Months, Weeks, Days. Optional fields can be left blank.

Want this on your site? Embed the add or subtract days.