{"slug":"x402-agentutility-ai-timezone-convert-c74631","title":"Converts a datetime from one IANA timezone to another with correct DST handling","host":"x402.agentutility.ai","method":"POST","resource":"https://x402.agentutility.ai/timezone-convert","category":"other","description":"Converts a datetime from one IANA timezone to another with correct DST handling. ISO-8601 input: bare wall-time strings are interpreted in the from_tz, fully-qualified offsets are honored. DST is handled correctly (uses V8's built-in tzdata via Intl.DateTimeFormat). Returns both formatted strings, b","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":25,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"datetime":"2026-05-08T12:00:00","from_tz":"America/Los_Angeles","to_tz":"Asia/Tokyo"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"datetime":{"description":"ISO-8601 datetime. With offset (e.g. '2026-05-08T12:00:00-07:00') it's used as-is; without offset (e.g. '2026-05-08T12:00:00') it's interpreted in from_tz.","type":"string"},"from_tz":{"description":"IANA timezone for the input wall-time (e.g. 'America/Los_Angeles').","type":"string"},"to_tz":{"description":"IANA timezone for the output (e.g. 'Asia/Tokyo').","type":"string"}},"required":["datetime","from_tz","to_tz"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"from":{"properties":{"datetime":{"type":"string"},"tz":{"type":"string"},"utc_offset_minutes":{"type":"integer"}},"type":"object"},"source":{"type":"string"},"to":{"properties":{"datetime":{"type":"string"},"tz":{"type":"string"},"utc_offset_minutes":{"type":"integer"}},"type":"object"},"utc_iso":{"type":"string"},"utc_offset_diff_hours":{"type":"integer"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":25,"error":null}],"description_full":"Converts a datetime from one IANA timezone to another with correct DST handling. ISO-8601 input: bare wall-time strings are interpreted in the from_tz, fully-qualified offsets are honored. DST is handled correctly (uses V8's built-in tzdata via Intl.DateTimeFormat). Returns both formatted strings, both UTC offsets, and the difference in hours. Use it for DST-aware time arithmetic, wall-clock to UTC conversion, or converting across cities.","last_updated":"2026-09-16T16:37:22.745Z","schemes":["exact"]}