{"category":"calc","endpoint":"https://setget.net/v1/tools/date-add","examples":[{"input":{"date":"2026-01-31","months":1},"output":{"clamped":true,"note":"February 2026 has no day 31, so the last day of the month (28) was used.","result":"2026-02-28","weekday":"Saturday"}},{"input":{"date":"2026-03-05 09:00","days":10,"hours":-2},"output":{"clamped":false,"note":null,"result":"2026-03-15T07:00:00","weekday":"Sunday"},"title":"Days and hours"}],"input_schema":{"additionalProperties":false,"properties":{"date":{"description":"The starting date or date and time.","examples":["2026-01-31"],"maxLength":40,"type":"string"},"days":{"default":0,"description":"Days to add. Negative numbers subtract.","maximum":3660000,"minimum":-3660000,"type":"integer"},"hours":{"default":0,"description":"Hours to add. Negative numbers subtract.","maximum":90000000,"minimum":-90000000,"type":"integer"},"minutes":{"default":0,"description":"Minutes to add. Negative numbers subtract.","maximum":90000000,"minimum":-90000000,"type":"integer"},"months":{"default":0,"description":"Months to add. Negative numbers subtract.","maximum":120000,"minimum":-120000,"type":"integer"},"weeks":{"default":0,"description":"Weeks to add. Negative numbers subtract.","maximum":520000,"minimum":-520000,"type":"integer"},"years":{"default":0,"description":"Years to add. Negative numbers subtract.","maximum":9999,"minimum":-9999,"type":"integer"}},"required":["date"],"type":"object"},"keywords":["add days to date","date calculator","subtract days","date plus days","90 days from today","add months","what date is"],"related":["date-diff","business-days","timezone-convert"],"slug":"date-add","summary":"Add or subtract years, months, weeks, days, hours and minutes from a date and get the resulting date.","tier":"inline","title":"Add or subtract time from a date","url":"https://setget.net/tools/date-add"}
