curatedapi

Time zone converter

A moment in up to 25 time zones at once, with each zone's UTC offset and whether daylight saving time applies, from the IANA time zone database.

The moment: an ISO 8601 date-time with a UTC offset, or a local time in from_timezone.
The IANA time zone of a datetime that has no UTC offset.
The IANA time zones to convert to, such as America/New_York. 1 to 25 items. One per line, or separated by commas.

Examples

Example: Nine in the morning in Berlin on the day the clocks go forward

Utc
The moment in UTC.
2026-03-29T07:00:00Z
Tz database
The time zone data used.
tzdata 2026.6 (IANA 2026f)

Conversions

TimezoneLocalWeekdayUtc offsetAbbreviationDaylight saving
America/New_York2026-03-29T03:00:00-04:00Sunday-04:00EDTyes
Asia/Kolkata2026-03-29T12:30:00+05:30Sunday+05:30ISTno

Calculator date/timezone-convert@1.

How it is calculated

local time = UTC + the zone's offset at that instant, from the IANA rules

Converts a date and time to other time zones. Give the moment with a UTC offset, or as a local time with the zone it is in, and the zones you want. Each answer has the local date and time, the day of the week, the UTC offset in force at that moment and whether daylight saving time applies. A local time that does not exist (the clocks skip it) or happens twice (the clocks go back) is refused with an explanation instead of being guessed.

  • Time zones come from the IANA time zone database in the pinned tzdata package; the version used is returned with each date-time result.
  • Leap seconds are not counted.

References

Results follow each calculator's documented rules and the sources listed. They are not financial, tax or legal advice. Check that the rules fit your case before you rely on a result. See the terms.

Use it from your code

POST /v1/calc/date/timezone-convertVersion 1
curl https://api.curatedapi.com/v1/calc/date/timezone-convert \
  -H "Authorization: Bearer $CURATEDAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "datetime": "2026-03-29T09:00:00",
    "from_timezone": "Europe/Berlin",
    "to_timezones": ["America/New_York", "Asia/Kolkata"]
  }'
The same call in Python
import os

import requests

payload = {
    "datetime": "2026-03-29T09:00:00",
    "from_timezone": "Europe/Berlin",
    "to_timezones": ["America/New_York", "Asia/Kolkata"],
}
response = requests.post(
    "https://api.curatedapi.com/v1/calc/date/timezone-convert",
    headers={"Authorization": f"Bearer {os.environ['CURATEDAPI_KEY']}"},
    json=payload,
    timeout=10,
)
print(response.json()["result"])
The same call in JavaScript
const payload = {
    "datetime": "2026-03-29T09:00:00",
    "from_timezone": "Europe/Berlin",
    "to_timezones": ["America/New_York", "Asia/Kolkata"],
};
const response = await fetch("https://api.curatedapi.com/v1/calc/date/timezone-convert", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.CURATEDAPI_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(payload),
});
console.log((await response.json()).result);

MCP tool calc_date_timezone_convert at https://mcp.curatedapi.com. Inputs, outputs and errors in the API reference.

Put it on your website

<div data-curatedapi-widget="date/timezone-convert" data-key="capi_public_…"></div>
<script src="https://widgets.curatedapi.com/v1/widget.js" async></script>

Use a public key registered for your site. Calculations are billed like API calls. How widgets work.

Related calculators

Add this calculator to your website

Paste two lines into your page and your visitors get this calculator. Each use counts as one call on your plan, the same as the API.

Free for up to 1,000 uses a month. 50,000 uses a month cost $9.00 on the Starter plan.