Why is adding 30 days different from adding a month?
A fixed day count differs from a calendar month, whose length varies. A month-based rule must also decide what happens when the matching day does not exist. This tool moves whole days or seven-day weeks, without that month-end ambiguity.
Worked examples
- Starting point
- 2026-01-31 plus 30 days.
- Result
- 2026-03-02.
- Why it happens
- February 2026 has 28 days. Adding 30 days crosses all of February and reaches March 2; calling that operation “one month” would hide a different calendar rule.
- Starting point
- 2024-02-28 plus 1 day, then plus 2 days from the same starting date.
- Result
- 2024-02-29 and 2024-03-01 respectively.
- Why it happens
- The leap day is a normal step in the calendar sequence. In 2025, February 28 plus one day would already reach March 1.
- Starting point
- 9999-12-31 plus 1 day.
- Result
- Rejected: outside the supported date range.
- Why it happens
- The available date range is checked before shifting. The result does not wrap around or enter a year beyond 9999.
Choose for the job
- A schedule says “two weeks later” and includes every day.
- Add 2 weeks, equivalent to 14 calendar days. Weekends and holidays are part of that interval.
- A rule says “next month” or “five working days”.
- Use a calendar or business-day calculator with an explicit month-end or holiday rule. Converting those phrases to a fixed day count can change the intended date.
Do not count the starting date twice
Adding one day moves January 1 to January 2. If an event labels January 1 as “day 1”, its “day 7” is January 7, reached by adding 6 days. Identify whether the number means a shift or an inclusive day label.
How these examples are derived
The starting date is validated and represented at UTC midnight. A non-negative whole count is multiplied by seven for weeks, then added or subtracted as calendar days. Zero keeps the date unchanged; results must remain from 0001-01-01 through 9999-12-31.
How to use date add & subtract
Add or subtract whole calendar days or weeks from a date. The calculation uses UTC calendar dates, so daylight saving time does not change the answer. One week always means seven calendar days.
- Choose a starting date.
- Choose Add or Subtract and enter a non-negative whole number of days or weeks.
- Read the resulting date or copy it in YYYY-MM-DD format.
Step across a leap day
2024-02-28 plus 1 day is 2024-02-29. Adding 2 days gives 2024-03-01. Subtracting 1 week from 2026-01-08 gives 2026-01-01.
Good to know
- Supported dates range from 0001-01-01 through 9999-12-31. A result outside that range is rejected.
- The count must be a non-negative whole number. Choose Subtract to move backwards; zero returns the starting date.
- Every calendar day counts, including weekends and holidays. Months, years and business-day rules are not included.
Common questions
Does a daylight saving change add or remove a day?
No. The tool shifts UTC calendar dates instead of measuring elapsed local-time hours. A local 23-hour or 25-hour day still counts as one calendar day.
Why can’t I add a month?
Months have different lengths and need a rule for dates such as January 31. This version keeps the operation unambiguous by supporting only days and seven-day weeks.