Time Zone Converter API avatar

Time Zone Converter API

Pricing

from $0.16 / 1,000 zone processeds

Go to Apify Store
Time Zone Converter API

Time Zone Converter API

Convert an offset-qualified instant to IANA time zones offline, with UTC offsets, DST and fold. $0.0002 per zone; start extra; usage included; failures uncharged.

Pricing

from $0.16 / 1,000 zone processeds

Rating

0.0

(0)

Developer

Logan Parker

Logan Parker

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Features

Limited permissions

Share

Convert one offset-qualified instant to named IANA time zones using pinned data for agent pipelines that need bounded factual results without publisher profiles, raw personal text or credentials. Agents can call and pay through Apify MCP for $0.0002 per zone; start is extra, usage is included and failed results are uncharged.

Example result

Example record for the minimal input under How to use it, as this Actor returned it on 2026-11-02 in a run of its production image; the record is kept unchanged with the release.

{
"zone": "America/Chicago",
"instantUtc": "2026-11-01T06:30:00+00:00",
"localTime": "2026-11-01T01:30:00-05:00",
"utcOffsetSeconds": -18000,
"dstSeconds": 3600,
"fold": 0,
"tzdataVersion": "2026.6",
"zoneRef": "input-1",
"ok": true
}

How to use it

Start a run in Apify Console, by API or from an agent with an input like this one — it is the input Apify runs every day to test this Actor:

{"zones": ["America/Chicago"], "instant": "2026-11-01T06:30:00Z"}
FieldTypeMeaning
zonesarrayOne result per input position; see Limits for supported values.
instantstringUnambiguous ISO instant; Z or an explicit offset is required.

Events and prices

EventTitleCharged whenFREE / BRONZESILVERGOLD / PLATINUM / DIAMOND
zone-convertedZone processedOne supported input with a readable result written to the dataset.$0.0002$0.00018$0.00016

Platform usage is not passed through. Apify's automatic actor-start event remains $0.00005 per started GB (one GB or less counts once). The synthetic dataset-item event is absent. Charge limits stop further paying work; unprocessed inputs receive uncharged errors. Completed readable pending events are settled on abort.

Worked cost example: ten successful zone processed events cost $0.002 at list, plus actor start. Failures are not included in that count.

Call it from an agent

Through Apify's MCP server (https://mcp.apify.com) use call-actor:

{
"actor": "hermeskd/timezone-converter",
"input": {
"zones": [
"America/Chicago"
],
"instant": "2026-11-01T06:30:00Z"
},
"callOptions": {
"maxTotalChargeUsd": 0.01,
"timeout": 600
},
"waitSecs": 30
}

Then call get-dataset-items with the returned defaultDatasetId. Dedicated tool URL: https://mcp.apify.com?tools=hermeskd/timezone-converter

Output fields

FieldMeaning
zoneRefOne-based input reference (input-1, input-2, ...); never the supplied value.
okTrue for a returned result; a failure is never charged.
zoneZone name from the pinned IANA name set.
instantUtcNormalized UTC instant with explicit +00:00 offset.
localTimeLocal ISO datetime with explicit UTC offset.
utcOffsetSecondsSigned UTC offset in seconds.
dstSecondsSigned seasonal offset according to the pinned zone data.
fold0 or 1; 1 identifies the second occurrence of a repeated local time.
tzdataVersionPinned tzdata package version, independent of the host database.
errorFailure, always uncharged.

Limits and run time

1–50 case-sensitive IANA zone names in pinned tzdata 2026.6, each at most 128 characters. instant must be YYYY-MM-DDTHH:MM:SS with optional 1–6 fractional digits and Z or an explicit HH:MM UTC offset, with year 1970–2100. Naive local timestamps and leap seconds are refused. Returns the local offset/fold of one unambiguous instant; no local-time gap resolution, meeting planner, live clock or inference about future legislation.

The default run timeout is 600 seconds. Local production-image measurements at 128 MB and one CPU: three cold typical calls took 3.20–4.76 seconds wall time, peak typical RSS 66.2 MiB; the ten-result benchmark took 3.42 seconds. These measure cold processes on locally available images; Apify image-pull startup, billed usage and the deploy pricing floor remain unverified.

Errors

CodeMeaning
source_invalidThe source response is malformed or outside the documented supported shape.
not_foundThe requested technical record is unavailable.
download_failedThe request or connection failed within its bounded deadline.
robots_disallowedrobots.txt forbids fetching the URL; no request was made to it.
blocked_hostThe host is on the deny-list or resolves to a private or local address; no request was made.
timeoutThe input did not finish within the run's time budget.
invalid_inputThe run input passed the input schema but cannot be used; the message names the field.
internal_errorUnexpected internal failure; private exception details are excluded.
charge_limit_reachedThe run reached its maximum total charge; this input was not processed.

No failure record is charged. A run fails only when all input outcomes are Actor-side failures; caller errors and a mixture of caller/Actor failures do not fail the run.

Sources and terms

Only process content you have the right to process. IANA Time Zone Database data is public domain. Python 3.12 zoneinfo reads pinned tzdata 2026.6 package resources directly (IANA release 2026f); host zoneinfo is not used. Primary licence and Python documentation read 2026-11-02. No model or external source request.

Not affiliated

Not affiliated with or endorsed by the source publishers or Apify.

Changelog

  • 1.0 (2026-11-02) — 2026-11-02: first factory-built version..