ToolAssay

Exact date math so the agent does not miscount

Exact date math so the agent does not miscount: add or subtract a duration ("3 months, 2 days", "-10d", "2w", "15 business days", ISO "P1Y2M10D", hours/minutes) to a date, and/or get the difference to another date as calendar years/months/days plus total days, weeks, hours, seconds and Mon–Fri business days. Every date comes back with weekday, ISO week, day of year, quarter, leap year, days in month and unix time. Month-end safe (Jan 31 + 1 month = Feb 28/29). Use for deadlin

Answeringour last check, 2026-11-27
2 of 2checks answered this week
945 msmedian answer time
$0.001listed price per call
$0.001price 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://agents.204-168-199-108.sslip.io/v1/util/date-calc

CategoryEverything else
Provider hostagents.204-168-199-108.sslip.io
Networksaws:base, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-27 valid payment request 402$0.001 928 ms
2026-11-26 valid payment request 402$0.001 962 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "add": "1 month, 10 business days",
    "date": "2026-01-31",
    "to": "2026-12-25"
  },
  "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": {
          "additionalProperties": false,
          "properties": {
            "add": {
              "description": "Duration to add, e.g. '3 months, 2 days', '2w', '15 business days', '36h', 'P1Y2M10D'",
              "type": "string"
            },
            "date": {
              "description": "Start date: YYYY-MM-DD, ISO date-time, unix seconds/ms, 'today' (default) or 'now'",
              "type": "string"
            },
            "subtract": {
              "description": "Duration to subtract (same format as add)",
              "type": "string"
            },
            "to": {
              "description": "Optional second date to measure the difference to",
              "type": "string"
            }
          },
          "required": [],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON