date_diff
Calculate the difference between two dates or times, returning calendar years/months/days, exact duration, totals, and weekday counts across time zones.
Instructions
Difference between dates: calendar y/m/d, exact duration, totals, Mon-Fri weekdays. Times: now, today, YYYY-MM-DD[ HH:MM], DD.MM.YYYY[ HH:MM], HH:MM, unix. Zones: IANA, city, CET/PST; default local.
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>"
},
"name": "date_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | default now | |
| start | Yes | ||
| timezone | No |