GeoNames Timezone Lookup
geonames.place.timezoneLook up the IANA timezone, GMT/DST offsets, local time, sunrise/sunset, and country for latitude/longitude coordinates to schedule tasks and convert UTC timestamps.
Instructions
Look up the timezone for any coordinates on Earth using the GeoNames database. Returns IANA timezone ID (e.g. "America/New_York", "Europe/London"), GMT offset, DST offset, raw (winter) offset, current local time, today's sunrise and sunset times (local), and the country at those coordinates. Useful for scheduling tasks across time zones, converting UTC timestamps, or annotating location data with timezone context. CC BY 4.0 open data, no upstream cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | ISO 639-1 language code for the country name in the response (e.g. "en", "de") | |
| latitude | Yes | Latitude of the location to look up (-90 to 90, e.g. 40.7128 for New York City) | |
| longitude | Yes | Longitude of the location to look up (-180 to 180, e.g. -74.0060 for New York City) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |