{"uid":"cap_m5BdKG2wqKn-u8A5J26nd","slug":"agent402-tools-timezone-converter-307e611d","name":"agent402.tools Timezone Converter","description":"Convert a datetime from one IANA timezone to another. Accepts ISO 8601, Unix timestamps (seconds or milliseconds), or natural date strings. Returns the converted time in both timezones with UTC offset. ?datetime=2026-06-23T14:00:00&from=America/New_York&to=Asia/Tokyo.","url":"https://agent402.tools/api/timezone-convert","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["datetime","from","to"],"properties":{"to":{"type":"string","description":"Target IANA timezone (e.g. Asia/Tokyo)"},"from":{"type":"string","description":"Source IANA timezone (e.g. America/New_York)"},"datetime":{"type":"string","description":"Datetime to convert (ISO 8601, Unix timestamp, or natural date string)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["input","from","to","utc"],"properties":{"to":{"type":"object","properties":{"timezone":{"type":"string"},"formatted":{"type":"string"}}},"utc":{"type":"string"},"from":{"type":"object","properties":{"timezone":{"type":"string"},"formatted":{"type":"string"}}},"input":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"to":{"timezone":"Asia/Tokyo","formatted":"06/24/2026, 03:00:00 JST"},"utc":"2026-06-23T18:00:00.000Z","from":{"timezone":"America/New_York","formatted":"06/23/2026, 14:00:00 EDT"},"input":"2026-06-23T14:00:00"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GGstMs2mq6OvEUbeQFM7O","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a datetime from one IANA timezone to another, accepting ISO 8601, Unix timestamps, or natural date strings, and returning the converted time with UTC offsets for both zones.","exampleAgentPrompt":"What time is 2026-06-23T14:00:00 in America/New_York when converted to Asia/Tokyo? Give me the UTC offsets for both zones.","exampleUseCases":null,"resultDescription":"Returns the converted datetime in the target timezone along with the UTC offset for both the source and target timezones, enabling precise cross-timezone scheduling and display.","failureModes":["Invalid or unrecognized IANA timezone string returns an error","Malformed datetime string (not ISO 8601, not a Unix timestamp, not a parseable natural date) returns a parse error","Missing required query parameters (datetime, from, or to) returns a 400 bad request","Out-of-range Unix timestamps may fail or return unexpected results"],"whenToPreferThis":"Use this endpoint when you need to convert a specific datetime between any two IANA-named timezones and want both the converted time and UTC offsets returned. Prefer this over manual offset arithmetic when dealing with DST-aware conversions or when the input may be in ISO 8601, Unix (seconds or milliseconds), or natural language date formats.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:15:54.095Z","isFirstParty":false}