{"uid":"cap_q2B__r1_Wu0bHidNYVmhh","slug":"x402-utils-time-zone-lookup-bdbbc823","name":"x402 Utils – Time Zone Lookup","description":"The current time, or a given time, in one or more IANA time zones, with UTC offset, abbreviation, whether daylight saving time is in effect, and the weekday. Give a local time with from_tz to convert it, handling DST correctly.","url":"https://qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws/v1/time?utm_source=zero.xyz","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","properties":{"at":{"type":"string","description":"ISO 8601 time with offset, unix seconds, or a local time such as 2026-10-25 09:00 (with from_tz); default now"},"tz":{"type":"string","description":"comma separated IANA zones (up to 10), such as Asia/Tokyo,America/New_York; default UTC"},"from_tz":{"type":"string","description":"the zone of a local time in at"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"utc":{},"unix":{},"zones":{}}}}}}},"responseSchema":null,"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_MvYu1JVwEkn9DSWRI3HnC","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":"Returns the current or specified time in one or more IANA time zones, with UTC offset, abbreviation, DST status, and weekday","exampleAgentPrompt":"What time is it right now in Asia/Tokyo and America/New_York? Include the UTC offset, abbreviation, whether DST is active, and the weekday for each.","exampleUseCases":[{"title":"Meeting time across global offices","prompt":"It's 9:00am on Monday in New York — what time is that in London, Tokyo, and Sydney? I need the local time, UTC offset, and whether daylight saving is in effect in each city."},{"title":"Checking current local time with DST","prompt":"What's the current time in America/Chicago and Europe/Paris? Tell me the abbreviation, UTC offset, and if daylight saving time is active right now."},{"title":"Converting a local time across zones","prompt":"If someone says the meeting is at 2026-10-25 09:00 local time in Europe/London, what time is that in America/Los_Angeles and Asia/Singapore? Handle DST correctly."}],"resultDescription":"Returns a JSON object with the UTC time, unix timestamp, and an array of zone entries. Each zone entry includes the IANA zone name, local time string, UTC offset (e.g. +09:00), timezone abbreviation (e.g. JST), a boolean indicating whether DST is active, and the weekday name.","failureModes":["Invalid IANA timezone name returns an error indicating unrecognized zone","More than 10 zones requested may be rejected or truncated","Malformed 'at' parameter (not ISO 8601, not unix seconds, not local time) returns a parsing error","Missing 'from_tz' when a bare local time is passed in 'at' may cause ambiguous or incorrect conversion","Network or Lambda cold-start latency may occasionally cause slow responses"],"whenToPreferThis":"Choose this endpoint when you need reliable, DST-aware time zone conversion or lookup for one or more IANA zones simultaneously. It handles the tricky edge case of converting ambiguous local times (e.g. during a DST fallback hour) correctly using the from_tz parameter. Prefer it over generic date libraries when correctness around DST transitions matters, or when you need structured metadata (abbreviation, offset, weekday) alongside the converted time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T22:05:11.445Z","isFirstParty":false,"canonicalSlug":"x402-utils-time-zone-lookup-bdbbc823"}