Date Add / Subtract
Add or subtract years / months / days from a base date, with month-end and year-end handled automatically (e.g. Feb 28 plus 1 day becomes Mar 1).

Date Add / Subtract

Given a base date, enter the years, months and days to add or subtract and the tool computes the target date and its timestamp. It handles month-end and year-end correctly: for example Feb 28 plus 1 day becomes Mar 1, and Dec 31 plus 1 year is still Dec 31.

All computation happens in your browser.

Features

How to use

  1. Pick a base date.
  2. Enter the years / months / days to add or subtract (may be negative).
  3. The result shows the target date and timestamp instantly.

FAQ

Why is "Jan 31 plus 1 month" Feb 28, not Mar 3?

February has no 31st, so adding a month directly would "overflow" into early March, which feels wrong in most cases. This tool clamps the day to the last day of the target month, giving Feb 28 (or 29 in a leap year).

Related tools & reading

Feedback

This site is front-end only — no backend, no accounts — so feedback goes to GitHub Issues, Discussions, or email.

Paste it into the issue or email to help track it down — it never includes anything you typed

Also: Browse existing issues · Email feedback (no GitHub account needed): 278975598@qq.com