# Date add > What date will it be after you add days, weeks or months? Move a date forwards or backwards by days, weeks, months or years. Add or subtract days, weeks, months or years from any date. See the resulting date and weekday, with clear month-end rules for short months. - Page: https://how.box/date-add/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/date-add/?d={d}&o={o}&n={n}&u={u} - `d` (text): Start date, YYYY-MM-DD. Example: `2026-01-31`. - `o` (add or subtract): add or subtract. Example: `subtract`. - `n` (whole number 0 to 999999): Whole number of units to add or subtract. Example: `1`. - `u` (days, weeks, months or years): days, weeks, months or years. Example: `weeks`. Example answer: https://how.box/date-add/?d=2026-01-31&o=subtract&n=1&u=weeks A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `date_add_calculate`: Add or subtract whole days, weeks (7 days), months or years (12 months) to a calendar date (YYYY-MM-DD, years 1–9999; no time of day or time zone). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"date_add_calculate","arguments":{"date":"2026-01-31","operation":"subtract","amount":1,"unit":"weeks"}}}` - GET: https://how.box/mcp/run/date_add_calculate?date=2026-01-31&operation=subtract&amount=1&unit=weeks ## How it works Days and weeks move the date by whole calendar days: a week is seven days, so 30 days and 4 weeks 2 days give the same result. Calendar dates have no clock time, so daylight-saving changes and time zones never shift the answer. Months and years keep the day number. When the target month is shorter and has no such day, the result is that month's last day, so 31 January plus one month is 28 February, or 29 February in a leap year. A year is 12 months, so 29 February plus one year is 28 February in a common year. This month-end rule is the one Finnish law uses for periods of months and years (Act 150/1930 §3: https://www.finlex.fi/fi/laki/ajantasa/1930/19300150), and spreadsheet month functions follow it too. Day arithmetic uses Howard Hinnant's civil-date algorithms on the Gregorian calendar, extended backwards to year 1: https://howardhinnant.github.io/date_algorithms.html. Contracts and deadlines can set their own rules, such as moving a deadline off a weekend. ## FAQ **Why is 31 January plus one month not 3 March?** Some programs overflow into the next month. This tool keeps the requested month and uses its last day instead. **Does adding and then subtracting a month return the start date?** Not always. In a common year, 31 January plus one month is 28 February, and subtracting one month then gives 28 January. **Is the start date counted?** No. Adding one day to Monday gives Tuesday; adding zero returns the start date. **Can I add working days?** This page counts calendar days. The working-days tool adds or subtracts Finnish working days, skipping weekends and public holidays. **Is adding two months the same as adding one month twice?** Not always near the end of a month. From 31 January 2026, adding two months gives 31 March, but adding one month twice goes through 28 February and ends on 28 March. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)