ISO date-time diff seconds

iso-datetime-diff-seconds · version 1.0.0 · Dates & times (UTC, ISO 8601) · free, no key needed

Return the signed whole-second difference between two strict UTC ISO-8601 datetimes.

Use when you need to: iso datetime diff seconds · difference between utc datetimes in seconds · utc datetime difference in seconds.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "start": "2026-09-11T12:00:00Z",
  "end": "2026-09-11T12:01:30Z"
}

Response:

{
  "result": {
    "seconds": "90"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "iso-datetime-diff-seconds",
  "version": "1.0.0",
  "input": {
    "start": "2026-09-11T12:00:00Z",
    "end": "2026-09-11T12:01:30Z"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/iso-datetime-diff-seconds/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"start":"2026-09-11T12:00:00Z","end":"2026-09-11T12:01:30Z"}'

The machine-readable contract is at /v1/tools/iso-datetime-diff-seconds/versions/1.0.0.

CLI

node cli.mjs run iso-datetime-diff-seconds 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.