ToolAssay

Date difference between dates

Date difference between dates. Time between two dates or timestamps: total days, weeks, hours, minutes and seconds, a years-months-days breakdown, and the number of weekdays (Monday-Friday) in between. Use for deadlines, ages and durations.

Answeringour last check, 2026-10-24
1 of 1checks answered this week
41 msmedian answer time
$0.01listed price per call
$0.01price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://agent-data-tools.revmesh2074.workers.dev/date/diff

CategoryEverything else
Provider hostagent-data-tools.revmesh2074.workers.dev
Networkseip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days4 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-24 valid payment request 402$0.01 41 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "from": "2026-01-01",
    "to": "2026-10-18"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "from": {
              "description": "Start date or ISO timestamp",
              "examples": [
                "2026-01-01"
              ],
              "type": "string"
            },
            "to": {
              "description": "End date or ISO timestamp",
              "examples": [
                "2026-10-18"
              ],
              "type": "string"
            }
          },
          "required": [
            "from",
            "to"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "days": {
              "type": "number"
            },
            "months": {
              "type": "number"
            },
            "remainingDays": {
              "type": "number"
            },
            "weekdays": {
              "type": "number"
            },
            "weeks": {
              "type": "number"
            },
            "years": {
              "type": "number"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON