Skip to main content
Utily
Date & Time

Date Calculator

Move any date forward or backward by years, months, weeks and days. Month ends and leap years are handled the way calendars and contracts expect, and the resulting weekday is shown.

30 days after
2026-11-08

Sunday, 8 November 2026

Friday, 9 October 2026 → Sunday, 8 November 2026

Fields combine and apply in the order years, months, weeks, days — one month and 30 days is a single offset. Results update as you type; everything runs in your browser, in UTC.

How it works

  1. 1

    Pick the start date

    Choose any date from the calendar field — the example ships with October 9, 2026. Dates must be real calendar days, so February 30 is rejected on sight, as is a February 29 in a year that is not leap.

  2. 2

    Set the offset in years, months, weeks and days

    Each field takes a whole number, and the fields combine: one month and 30 days is a single offset applied in that order. Leave a field at zero to skip it — a plain 30 days needs nothing else.

  3. 3

    Choose After or Before

    The toggle decides whether the offset is added or subtracted, so 30 days after October 9, 2026 is November 8, 2026 and 30 days before is September 9, 2026. One switch flips the whole offset at once.

  4. 4

    Read the ISO date, the long form and the weekday

    The result card shows the ISO 8601 string for copying — 2026-11-08 — the full written date, Sunday, 8 November 2026, and the resulting weekday. Nothing leaves the page: the arithmetic runs in your browser.

Month-end clamping: where the missing days go

Adding a month is the one step in this calculator that cannot always land where it is told. Months run from 28 to 31 days, so a start date on the 29th, 30th or 31st sometimes has nowhere to go: February has no 31st, and most years have no February 29 either. The convention — used by legal calendar-month counting, most spreadsheet libraries and this tool — is to clamp downward to the target month's final day. The overflow days are dropped rather than carried forward, which keeps the result inside the month you asked for.

The clamp pair below is the case worth memorising. January 31, 2024 plus one month reaches February 29, 2024, because that February holds 29 days; the identical move a year earlier stops at February 28, 2023. Same start day, same offset, different result — entirely because the leap year changed the target month's length. Subtracting clamps by the same rule: March 31, 2024 minus one month is February 29, 2024, not March 1.

Start dateOffsetResultWhy
January 31, 2024+ 1 monthFebruary 29, 2024February 2024 has 29 days, so the 31st clamps to the 29th
January 31, 2023+ 1 monthFebruary 28, 2023common-year February stops at the 28th
February 29, 2024+ 1 yearFebruary 28, 20252025 is common, so the anniversary lands on the 28th
March 31, 2024− 1 monthFebruary 29, 2024going backwards clamps by the same rule
January 31, 2024+ 1 dayFebruary 1, 2024day steps are exact and never clamp

Weeks and days behave differently, and deliberately so. A week is always seven days and a day step is always one day, so neither ever clamps: January 31, 2024 plus one day is February 1, 2024, cleanly past the month boundary. Only the year and month steps compress, because only they name a target month that may be too short.

One consequence follows from all this: an offset that crosses a clamp does not always round-trip. January 31, 2024, moved forward a month and back a month, finishes on January 29 — the forward step lost two days to the clamp, and the return journey has no memory of them. That asymmetry is a property of the calendar, not a bug in the arithmetic, and it is the reason the fixed application order below matters.

Order of operations: why one month plus 30 days is not symmetric

An offset with several non-zero fields needs a rule for which moves first, and this calculator applies them in the order years, months, weeks, days. Years go first so a February 29 anniversary is settled before any month step can move it again. Months come next, clamping as needed. Weeks and days finish the job as plain day arithmetic, which is exact at every step.

The order is invisible whenever no clamp occurs — one month and two days from October 9, 2026 reaches November 11 whichever way you sequence it. It surfaces the moment the two steps disagree at the finish, as this pair shows. Both rows subtract the same two amounts from the same start date; only the sequence differs.

Offset from October 9, 2026Path takenResult
1 month, then 30 days (this tool)Oct 9 → Sep 9 → Aug 10Monday, August 10, 2026
30 days, then 1 monthOct 9 → Sep 9 → Aug 9Sunday, August 9, 2026

The gap appears because both routes pass through the same midpoint, September 9, and then finish with different steps from there. Thirty exact days back from September 9 is August 10; a calendar month back from September 9 is August 9, because that particular August-to-September month holds 31 days, one more than the 30 the day step counts. The practical takeaway is simpler than the mechanics: this tool always applies months before days, which is the order most calendar libraries and manual date arithmetic use, so an offset written as one month plus 30 days here means exactly what it means on paper.

The Before toggle interacts with the order in a way worth stating once. Subtracting does not reverse the sequence — it negates every field and applies them in the same years, months, weeks, days order. One month and 30 days before October 9, 2026 therefore means one month back first (September 9) and then 30 days back (August 10), which is the reading the worked example above shows.

All arithmetic in UTC, all output in ISO 8601

Date arithmetic has two classic failure modes, and both are avoided by staying in UTC end to end. The first is the daylight-saving hour: in zones that observe DST, a local day in March or November can hold 23 or 25 hours, and naive millisecond arithmetic lands an hour off, occasionally tipping a date onto the wrong calendar day. Working at midnight UTC with whole-day steps makes that impossible — a day is 86,400,000 milliseconds everywhere, every day of the year.

The second is the time zone itself. Because every parse and every weekday lookup reads UTC fields, a given start date and offset produce the same answer on every device on Earth. There is no quietly-taken local midnight to disagree about, and no server involved either — the calculation runs in the browser, on whatever date you typed.

Output is deliberately single-format. The primary result is an ISO 8601 date — 2026-11-08 — the one written form that is unambiguous internationally, sorts correctly as text, and pastes cleanly into spreadsheets, code and log files. The long form beside it, Sunday, 8 November 2026, exists for human reading and for double-checking that the weekday matches your expectations; both are derived from the same UTC date, so they can never disagree.

  • 30 days after October 9, 2026 is 2026-11-08, a Sunday — a plain day step, no clamping involved.
  • Two weeks after October 9, 2026 is 2026-10-23, a Friday — 14 exact days, landing on the same weekday.
  • One month after January 31, 2024 is 2024-02-29; one month after January 31, 2023 is 2023-02-28 — the clamp pair.
  • One month and 30 days before October 9, 2026 is 2026-08-10, a Monday — months applied before days, as everywhere in this tool.

Frequently asked questions

Why does January 31 plus one month land on February 28 or 29?
Because February has no 31st, the result has to land somewhere, and this tool follows the standard calendar convention: the day clamps down to the target month's last day. Adding one month to January 31, 2024 gives February 29, 2024 — that February runs to the 29th — while the same move from January 31, 2023 stops at February 28. The overflow days are dropped, not carried into March: one month after January 31 is never March 2 or 3. Any contract, notice period or reminder that counts in whole months and can start on the 29th, 30th or 31st runs into this question, and most calendars and legal systems answer it with the same downward clamp you see here.
Why does February 29, 2024 plus one year give February 28, 2025?
A birthday that exists only every four years has to pick an ordinary date for the off years, and the convention this tool applies is to pull the anniversary back to the last day of February rather than push it into March. So February 29, 2024 plus one year reads February 28, 2025, and adding four years lands back on February 29, 2028 exactly. The same rule governs the month step generally: years are applied before months, both through the same month-end clamp, so any date whose day-of-month exceeds the target month's length comes out on that month's final day.
Does the order of the fields matter?
It can, and the tool applies them in a fixed order for that reason: years, then months, then weeks, then days. Weeks and days are exact day steps that always commute, but months can clamp, and a clamp changes what the later day steps have to work with. Take one month and 30 days before October 9, 2026. Months first — the order used here — reaches September 9, then 30 days back lands on Monday, August 10, 2026. Days first reaches September 9 as well, but the month step then lands on August 9: one day earlier, from the same two numbers, purely because the subtraction ran in the other sequence. When a document spells out an order, match it; otherwise the fixed order here is the conventional one.
Why is the result written as YYYY-MM-DD?
That shape is ISO 8601, the international standard for calendar dates, and it is the only format that sorts correctly as plain text: 2026-11-08 follows 2026-11-07 in a file listing without any date parsing at all. It is also unambiguous across borders in a way neither 11/08/2026 nor 08/11/2026 can be — an American reads the first as November 8, a Brit as August 11, while the ISO form leaves no room for either reading. The card under the calculator shows the ISO string for copying into spreadsheets, code and logs, with the long written form — weekday, day, month, year — beside it for human reading.
Does my time zone change the answer?
No. Every calculation runs on calendar dates at midnight UTC, from the input parsing to the weekday lookup, so the arithmetic never touches local time and daylight saving never inserts or removes an hour. The same start date and offset produce the same result on a machine set to Auckland, Peru or UTC — these are whole-day steps on a wall calendar, not moments on a clock. The only time zone that matters is the one that decided which calendar date you typed in the first place.
Can I type a negative number to subtract?
No — the amount fields accept whole numbers from zero up, and the direction is carried by the After / Before toggle instead. This keeps one number per field doing one job: the toggle flips every field at once, so switching from After to Before turns one month plus 30 days into one month plus 30 days backwards, rather than forcing you to re-enter each amount with a minus sign. It also means a half-typed field can never silently reverse a direction — subtraction is always an explicit, visible choice on the toggle.

Related tools

Last updated: October 9, 2026