Date Difference Calculator

Datetime REST API

Calculate the difference between two dates in various units.

This page documents the HTTP endpoint POST /api/tools/date-diff/execute.

View as Markdown

Call it over REST

POST https://api.findutils.com/api/tools/date-diff/execute · no API keys · 60 requests/min per IP

Execute — verified arguments

curl -X POST https://api.findutils.com/api/tools/date-diff/execute \
  -H "Content-Type: application/json" \
  -d '{
    "from": "2024-01-01",
    "to": "2024-12-31"
  }'

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/date-diff

Interactive docs · OpenAPI 3.1 spec · All REST tools

Input schema

Argument Type Required Description
from string yes Start date (ISO 8601 or any parseable date string).
to string no End date (ISO 8601 or any parseable date string). Defaults to now if omitted.

Example arguments (verified)

{
  "from": "2024-01-01",
  "to": "2024-12-31"
}

MCP

This tool is served over the REST API only. 292 other tools are also callable from Claude and any MCP client — see the MCP server.

More Datetime tools