Timezone offset changes
timezone-offset-changes · version 1.0.0 · Other utilities · free, no key needed
Lists UTC offset changes in a half-open instant range with offsets before and after each change.
Use when you need to: list utc offset changes of a time zone · find utc offset changes in a date range · when does a zone offset change.
Decide before calling
Read the versioned contract and the supported scope below. Reuse timezone-offset-changes@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.
Explain the choice
"I can use timezone-offset-changes@1.0.0 for list utc offset changes of a time zone. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."
Supported
- list utc offset changes of a time zone
- find utc offset changes in a date range
- when does a zone offset change
- timezone transition history
- clock change instants for an IANA zone
- enumerate zone offset changes
Not supported
- future transitions after 2037
- daylight-saving labels or flags
Behavior
- The instant range is half-open [start, end).
- max_items is an explicit cap from 1 through 256.
Input
zone(string, required): min length 1; max length 64start(string or integer, required)end(string or integer, required)max_items(integer, required): min 1; max 256
Output
standard_version(string, required)data_version(string, required)zone(string, required)stored_zone(string, required)transitions(array of object, required): max items 256
Limits
- max input bytes: 768
- max items: 256
- max iterations: 2048
- max output bytes: 32768
Example
Request input:
{
"zone": "America/New_York",
"start": "2024-01-01T00:00:00Z",
"end": "2025-01-01T00:00:00Z",
"max_items": 8
}
Response:
{
"result": {
"standard_version": "IANA tzdata 2025b; RFC 3339; RFC 9557",
"data_version": "2025b",
"zone": "America/New_York",
"stored_zone": "America/New_York",
"transitions": [
{
"instant": "2024-03-10T07:00:00Z",
"offset_before_seconds": -18000,
"offset_after_seconds": -14400
},
{
"instant": "2024-11-03T06:00:00Z",
"offset_before_seconds": -14400,
"offset_after_seconds": -18000
}
]
}
}
How to call it
MCP
Connect https://computefirst.net/mcp (setup), then call execute with:
{
"id": "timezone-offset-changes",
"version": "1.0.0",
"input": {
"zone": "America/New_York",
"start": "2024-01-01T00:00:00Z",
"end": "2025-01-01T00:00:00Z",
"max_items": 8
}
}
HTTP (no key)
curl -X POST https://computefirst.net/v1/tools/timezone-offset-changes/versions/1.0.0/execute \
-H "Content-Type: application/json" \
-d '{"zone":"America/New_York","start":"2024-01-01T00:00:00Z","end":"2025-01-01T00:00:00Z","max_items":8}'
The machine-readable contract is at /v1/tools/timezone-offset-changes/versions/1.0.0.
CLI
node cli.mjs run timezone-offset-changes 1.0.0 --input input.json --base-url https://computefirst.net
Get the client at /clients/cli/.
Related tools
- Timezone utc offset: Returns the UTC offset, local date-time, resolved zone, and adjacent offset changes for an instant.
- Timezone local to utc: Returns all UTC instants matching a local time, its gap/overlap status, and the disambiguated choice.
- Timezone convert: Converts an instant or zoned local time and returns source and target local times and UTC offsets.
- Cron next runs: Compute the next requested UTC fire times for a five-field cron schedule and echo the supplied reference instant.
- Cron previous runs: Compute the previous requested UTC fire times for a five-field cron schedule and echo the supplied reference instant.
- Jmespath search: Evaluate a JMESPath expression against JSON and return the projected, filtered, or reshaped JSON result.