{"ok":true,"result":{"slug":"date-calculator","name":"Date Calculator","summary":"Add or subtract years, months, weeks and days (or business days) to a date. Month ends are clamped: 31 January + 1 month = 28/29 February.","description":"Add or subtract years, months, weeks and days from any date, or count business days only, and see the resulting date and its day of the week.","method":"POST","endpoint":"/api/v1/tools/date-calculator","plan":"free","mcpName":"date_calculator","input":{"type":"object","additionalProperties":false,"properties":{"start":{"type":"string","description":"Start date as YYYY-MM-DD.","maxLength":10},"operation":{"type":"string","description":"add or subtract the offset.","default":"add","enum":["add","subtract"],"maxLength":200000},"years":{"type":"integer","description":"Years to add or subtract (applied first, with months).","default":0,"minimum":0,"maximum":3650000},"months":{"type":"integer","description":"Months to add or subtract.","default":0,"minimum":0,"maximum":3650000},"weeks":{"type":"integer","description":"Weeks to add or subtract (5 business days each when businessDays is true).","default":0,"minimum":0,"maximum":3650000},"days":{"type":"integer","description":"Days to add or subtract.","default":0,"minimum":0,"maximum":3650000},"businessDays":{"type":"boolean","description":"Count weeks and days as business days (Monday–Friday), skipping weekends.","default":false}},"required":["start"]},"example":{"start":"2026-01-31","operation":"add","months":1,"days":10},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/date-calculator","page":"https://pithlab.com/tools/date-calculator"}}