Boneyard Tools

Add or Subtract From a Date

Add to Date takes a start date and a mix of days, weeks, months and years, then returns the exact calendar date that lands. Type negative numbers to count backward instead of forward, so one calculator covers deadlines, anniversaries and lookbacks. Years and months are applied first with a day clamp, so awkward cases like the 31st of a short month resolve the way a calendar would.

How to add to or subtract from a date

  1. Pick your start date in the date field (it defaults to today).
  2. Type how many days to add or subtract, using a minus sign to go back in time.
  3. Fill in the weeks, months and years boxes the same way, mixing units freely.
  4. Leave any unit at 0 if you do not need it.
  5. Read the result date below and click Copy to grab it.

Examples

Add 30 days to a date

2026-06-10, add 30 days
2026-07-10

Add one month to a month end (day clamps)

2026-01-31, add 1 month
2026-02-28

Subtract three weeks with a negative number

2026-03-15, weeks = -3
2026-02-22

Frequently asked questions

How do I subtract instead of add?

Put a minus sign in front of any amount. For example -7 in the days box moves the date one week earlier, and -1 in the years box lands on the same date the previous year. You can mix positive and negative units in one calculation.

What happens with January 31 plus one month?

February has no 31st, so the day clamps to the last valid day of the target month, giving February 28 in a common year and February 29 in a leap year. Only the day is adjusted; the month and year land where you asked.

In what order are the units applied?

Years and months are applied first as calendar arithmetic, clamping the day of month if the target month is shorter. Weeks and days are then added afterward as exact 24-hour offsets, so a month plus five days means shift the month first, then step forward five days.

How does it treat leap days?

Adding one year to February 29, 2024 gives February 28, 2025 because 2025 has no leap day, and the day clamps down. Adding four years would land back on February 29 when the target year is itself a leap year.

Do the boxes accept decimals or fractions?

No. Each amount must be a whole number. Half days or partial months are rejected with a short message, since the result is always a clean calendar date rather than a time of day.

Does daylight saving time change the answer?

No. Every date is computed in UTC, so clock changes and time zones never shift the result. You always get a plain calendar date with no hidden hours attached.

Can I count backward across a year boundary?

Yes. Subtracting more days than remain in the month rolls back through earlier months and years automatically. Subtracting three weeks from March 15, 2026 returns February 22, 2026, stepping across the month end for you.

Is there a limit on how far I can add or subtract?

There is no small cap. You can shift by hundreds of years in either direction and still get a valid date, as long as the start date is a real calendar date in YYYY-MM-DD form.

Is my data private?

Yes. The calculation runs entirely in your browser and nothing is uploaded or stored, so the dates you enter never leave your device.

Learn more

Related tools