Time zone and UTC offset at a point
astroway_geo_timezoneResolve the IANA time zone and UTC offset for a latitude/longitude at a local date and time, using the tz database to handle DST and historical changes.
Instructions
The IANA zone at a point and the UTC offset its clocks kept at that local date and time, from the tz database, never a fixed offset: Kyiv answers +2 in January, +3 in July and +4 on 15 May 1990, when it kept Moscow summer time. time defaults to 12:00 and matters on the day clocks change; a skipped hour resolves to the offset from before the change, a repeated one to its first occurrence. standardOffset is the smaller of the year's offsets and isDst is true when the clock is ahead of it.
[Group: Astro-Geography] [Endpoint: GET /v1/geo/timezone] [Required: lat, lon] [Cost: 5 credits (Tier ½)]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude in decimal degrees, north positive. | |
| lon | Yes | Longitude in decimal degrees, east positive. | |
| date | No | Local calendar date `YYYY-MM-DD` at the point. Defaults to today (UTC). | |
| time | No | Local clock time `HH:MM` or `HH:MM:SS`. Matters only on the day clocks change. | 12:00 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| time | No | ||
| isDst | No | ||
| latitude | No | ||
| nautical | No | ||
| timezone | No | ||
| longitude | No | ||
| utcOffset | No | ||
| utcOffsetText | No | ||
| standardOffset | No |