77trust / 100
Time Convert
by 1gateway in Documents & files
x402 APIPassing, checked 2 h ago
Use when scheduling across time zones or turning a local time into UTC without guessing DST. Input: to (IANA zones or KST, PST, CET...), optional from (zone of a local time, default UTC), time (ISO 8601, Unix seconds, or now). Output: JSON UTC instant, Unix time, and per zone: local ISO time with offset, weekday, abbreviation, DST and business-hours flags, day difference. Example: ?time=2026-10-12T09:00&from=Asia/Seoul&to=America/New_York,Europe/London
GET https://1gateway.dev/v1/time/convert
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 560 ms typical, 560 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://1gateway.dev/v1/time/convert?from=Asia%2FSeoul&time=2026-10-12T09%3A00&to=America%2FNew_York%2CEurope%2FLondon"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%2F1gateway.dev%2Fv1%2Ftime%2Fconvert
const res = await pay("https://1gateway.dev/v1/time/convert?from=Asia%2FSeoul&time=2026-10-12T09%3A00&to=America%2FNew_York%2CEurope%2FLondon");
console.log(await res.json());Example input
{
"from": "Asia/Seoul",
"time": "2026-10-12T09:00",
"to": "America/New_York,Europe/London"
}Example output
{
"from": {
"abbreviation": "GMT+9",
"businessHours": true,
"date": "2026-10-12",
"isDst": false,
"local": "2026-10-12T09:00:00+09:00",
"time": "09:00:00",
"utcOffset": "+09:00",
"utcOffsetMinutes": 540,
"weekday": "Monday",
"zone": "Asia/Seoul"
},
"input": "2026-10-12T09:00",
"notes": [
"Uses the IANA time-zone database bundled with the runtime (ICU)."
],
"to": [
{
"abbreviation": "EDT",
"businessHours": false,
"date": "2026-10-11",
"dayDiff": -1,
"hoursAheadOfSource": -13,
"isDst": true,
"local": "2026-10-11T20:00:00-04:00",
"time": "20:00:00",
"utcOffset": "-04:00",
"utcOffsetMinutes": -240,
"weekday": "Sunday",
"zone": "America/New_York"
}
],
"unix": 1791763200,
"utc": "2026-10-12T00:00:00.000Z"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 560 ms | $0.002 |
| 6 h ago | Passed | 402 | 581 ms | $0.002 |
| 11 h ago | Passed | 402 | 48 ms | $0.002 |