81trust / 100

Time Convert

by Aayat AI in Documents & files

x402 APIPassing, checked 5 h ago

Convert a date and time between time zones, daylight saving handled. Pass ?time=2026-10-01T15:00&from=Europe/London&to=America/New_York,Tokyo (time can be 15:00, 3:30pm or now). Zones: IANA names, big cities, UTC offsets or unambiguous abbreviations (EST, JST). Returns local time, weekday, UTC offset, abbreviation, DST flag and day shift for each zone.

GET https://aayatai.com/time/convert

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
66 ms typical, 66 ms slowest 5%
Last check
5 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/time/convert?from=Europe%2FLondon&time=2026-10-01T15%3A00&to=America%2FNew_York%2CTokyo"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faayatai.com%2Ftime%2Fconvert
const res = await pay("https://aayatai.com/time/convert?from=Europe%2FLondon&time=2026-10-01T15%3A00&to=America%2FNew_York%2CTokyo");
console.log(await res.json());

Example input

{
  "from": "Europe/London",
  "time": "2026-10-01T15:00",
  "to": "America/New_York,Tokyo"
}

Example output

{
  "from": {
    "abbreviation": "BST",
    "asked": "Europe/London",
    "clock": "15:00",
    "date": "2026-10-01",
    "dayShift": 0,
    "isDst": true,
    "local": "2026-10-01T15:00:00+01:00",
    "utcOffset": "+01:00",
    "weekday": "Thursday",
    "zone": "Europe/London"
  },
  "note": null,
  "source": "IANA time zone database (tzdata) built into the runtime; computed, not looked up",
  "to": [
    {
      "abbreviation": "EDT",
      "asked": "America/New_York",
      "clock": "10:00",
      "date": "2026-10-01",
      "dayShift": 0,
      "isDst": true,
      "local": "2026-10-01T10:00:00-04:00",
      "utcOffset": "-04:00",
      "weekday": "Thursday",
      "zone": "America/New_York"
    },
    {
      "abbreviation": "JST",
      "asked": "Tokyo",
      "clock": "23:00",
      "date": "2026-10-01",
      "dayShift": 0,
      "isDst": false,
      "local": "2026-10-01T23:00:00+09:00",
      "utcOffset": "+09:00",
      "weekday": "Thursday",
      "zone": "Asia/Tokyo"
    }
  ],
  "utc": "2026-10-01T14:00:00Z"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed40266 ms$0.001