Timezone Lookup
ref_timezone_lookupGet timezone info by IANA ID, country code, or partial city/region name. Returns current UTC offset, standard offset, whether DST is currently active, and major cities in the timezone. When querying by country code (ISO alpha-2), returns all timezones observed in that country. Accepts partial matches — "Tokyo" resolves to "Asia/Tokyo", "NY" resolves to "America/New_York".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ISO 8601 datetime to evaluate timezone state at a specific moment (e.g., "2026-01-15T12:00:00"). Defaults to current time. | |
| by | No | Lookup mode: iana for exact IANA ID, country for ISO alpha-2 code, auto tries all strategies. | auto |
| query | Yes | IANA timezone ID (e.g., "America/New_York"), ISO alpha-2 country code (e.g., "US"), or partial city/region name (e.g., "Tokyo", "London"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| timezones | No | Matching timezone records. Multiple records when querying by country. | |
| evaluated_at | No | ISO 8601 UTC datetime at which timezone state was evaluated. |