{"slug":"1gateway-dev-v1-time-convert-c03bdb","title":"Use when scheduling across time zones or turning a local time into UTC without g","host":"1gateway.dev","method":"GET","resource":"https://1gateway.dev/v1/time/convert","category":"other","description":"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 of","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":22,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"from":"Asia/Seoul","time":"2026-10-12T09:00","to":"America/New_York,Europe/London"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"from":{"default":"UTC","description":"Zone of the input local time (default UTC; ignored when time has an offset)","examples":["Asia/Seoul"],"pattern":"^[A-Za-z0-9_+\\-/]+$","type":"string"},"time":{"default":"now","description":"ISO 8601 date-time (2026-10-12T09:00, 2026-10-12T09:00:00+09:00), Unix seconds/ms, or now","examples":["2026-10-12T09:00"],"pattern":"^(now|\\d{9,13}|\\d{4}-\\d{2}-\\d{2}([T ]\\d{2}:\\d{2}(:\\d{2}(\\.\\d+)?)?)?\\s*(Z|z|[+-]\\d{2}:?\\d{2})?)$","type":"string"},"to":{"description":"1–25 target zones, comma-separated (IANA names like Asia/Seoul, UTC, or abbreviations like KST, PST, CET)","examples":["America/New_York,Europe/London"],"pattern":"^[A-Za-z0-9_+\\-/]+(\\s*,\\s*[A-Za-z0-9_+\\-/]+){0,24}$","type":"string"}},"required":["to"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"from":{"properties":{"abbreviation":{"type":"string"},"businessHours":{"type":"boolean"},"date":{"type":"string"},"isDst":{"type":"boolean"},"local":{"type":"string"},"time":{"type":"string"},"utcOffset":{"type":"string"},"utcOffsetMinutes":{"type":"integer"},"weekday":{"type":"string"},"zone":{"type":"string"}},"type":"object"},"input":{"type":"string"},"notes":{"items":{"type":"string"},"type":"array"},"to":{"items":{"properties":{"abbreviation":{"type":"string"},"businessHours":{"type":"boolean"},"date":{"type":"string"},"dayDiff":{"type":"integer"},"hoursAheadOfSource":{"type":"integer"},"isDst":{"type":"boolean"},"local":{"type":"string"},"time":{"type":"string"},"utcOffset":{"type":"string"},"utcOffsetMinutes":{"type":"integer"},"weekday":{"type":"string"},"zone":{"type":"string"}},"type":"object"},"type":"array"},"unix":{"type":"integer"},"utc":{"type":"string"}},"required":["input","utc","unix","from","to","notes"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":22,"error":null}],"description_full":"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","last_updated":"2026-10-10T08:02:05.134Z","schemes":["exact"]}