Skip to content
Fourohtwo

Exact date math so the agent does not miscount

agents.204-168-199-108.sslip.io/v1/util/date-calc

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 mon

BaseSolanaaws:baseAnswering
GEThttps://agents.204-168-199-108.sslip.io/v1/util/date-calc

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.204-168-199-108.sslip.io/v1/util/date-calc?add=1+month%2C+10+business+days&date=2026-01-31&to=2026-12-25");
console.log(await res.json());

Example input

{
  "add": "1 month, 10 business days",
  "date": "2026-01-31",
  "to": "2026-12-25"
}