← Market

Date Calc

Date math agents get wrong: days and business days between two dates (skipping weekends and a country's public holidays), add or subtract days or business days, and facts about a date (weekday, ISO week, quarter, day of year, leap year).

GET https://aipaygen.com/v1/date_calc

0.001 USDC on Base · payTo 0xebA22e8CD05Cb72A2F913099D6cCA666DD6D35B0

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.001 USDC · payTo 0xebA22e8CD05Cb72A2F913099D6cCA666DD6D35B0 · via cdp · settles direct
{
  "country": "US",
  "date": "2026-12-22",
  "days": 5,
  "op": "add_business_days"
}
{
  "business_days": 5,
  "from": "2026-12-22",
  "holidays_considered": "US",
  "holidays_skipped": [
    "2026-12-25"
  ],
  "result": "2026-12-30",
  "weekday": "Wednesday"
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score70 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency1109 ms
Paid calls (30d, on-chain)339 calls · 5 buyers · shared price cohort of 84
Facilitator-reported (30d)5 calls · 1 payers (CDP Bazaar)

How to call

GET https://aipaygen.com/v1/date_calc · input in query · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "op": {
      "type": "string",
      "enum": [
        "diff",
        "add_days",
        "add_business_days",
        "info"
      ],
      "description": "\"diff\", \"add_days\", \"add_business_days\" or \"info\"."
    },
    "date": {
      "type": "string",
      "description": "Start date, YYYY-MM-DD."
    },
    "end_date": {
      "description": "End date for diff, YYYY-MM-DD.",
      "type": "string"
    },
    "days": {
      "description": "Days to add (negative to subtract).",
      "type": "integer",
      "minimum": -36500,
      "maximum": 36500
    },
    "country": {
      "description": "Skip this country's public holidays in business-day math, e.g. \"US\".",
      "type": "string",
      "minLength": 2,
      "maxLength": 2
    }
  },
  "required": [
    "op",
    "date"
  ],
  "additionalProperties": false
}
curl -i -X GET 'https://aipaygen.com/v1/date_calc?op=add_business_days&date=2026-12-22&days=5&country=US'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)