Date Difference (Years, Months, Days)
date_diff_calendarWork out the difference between two calendar dates as whole years, months and days, plus the total days and the weeks and leftover days. Send start and end (YYYY-MM-DD). If end is before start the answer is worked from the earlier date and says it is backward. Optionally send inclusive true to count the later date as a day too (a 1 to 31 March stay is 31 days, not 30). The month-end rule is stated in every answer and the answer says when it was used. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/date-diff-calendar). Not legal, tax or financial advice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start": "<start>",
"end": "<end>"
},
"name": "date_diff_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Second date, YYYY-MM-DD (1990 to 2100). May be before start. | |
| start | Yes | First date, YYYY-MM-DD (1990 to 2100). | |
| inclusive | No | true to count the later date as a day as well (adds one day to the later date). Default false. |