Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man timezone-convert

/timezone-convert(1)

agentutility / locale / timezone-convert
PRICE / CALL
$0.001
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
locale
CATEGORY
uncategorized
STATUS
live
NAME
timezone-convert timezone convert / iana tz conversion / dst-aware time arithmetic / wall-clock to utc / convert across cities
SYNOPSIS
POST https://x402.org/v1/timezone-convert
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Timezone convert / IANA tz conversion / DST-aware time arithmetic / wall-clock to UTC / convert across cities. Convert a datetime from one IANA timezone to another. ISO-8601 input — bare wall-time strings are interpreted in the from_tz, fully-qualified offsets are honored. DST is handled correctly (uses V8's built-in tzdata via Intl.DateTimeFormat). Returns both formatted strings, both UTC offsets, and the difference in hours.

INPUTrequest schema
propertytypedescriptionreq?
datetimestringISO-8601 datetime. With offset (e.g. '2026-05-08T12:00:00-07:00') it's used as-is; without offset (e.g. '2026-05-08T12:00:00') it's interpreted in from_tz.required
from_tzstringIANA timezone for the input wall-time (e.g. 'America/Los_Angeles').required
to_tzstringIANA timezone for the output (e.g. 'Asia/Tokyo').required
OUTPUTresponse shape
fieldtypedescription
fromstringConverted datetime formatted in the source IANA timezone with its UTC offset.
tostringConverted datetime formatted in the target IANA timezone with its UTC offset.
utc_isostringEquivalent moment in UTC as an ISO-8601 timestamp with Z suffix.
utc_offset_diff_hoursstringSigned hour difference between the target and source UTC offsets at that instant.
sourcestringIdentifier of the tzdata source used for the conversion (V8 Intl.DateTimeFormat).
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/timezone-convert \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# install once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the timezone-convert tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
localetimezonetz-convertiana-tzdstdatetimeutc-offsettimezone-conversion
methods
POST
cluster
locale
price
$0.001 USDC per call
ADJACENTother endpoints in locale
endpointdescriptionprice
timezone-lookupTimezone lookup / IANA tz / UTC offset / DST status / local time at lat-lng / which timezone.$0.001
astro-timessunrise-sunset / golden-hour / civil twilight / nautical dusk / day-length / solar-noon / dawn-dusk / astronomy times.$0.002
country-infoCountry info / ISO 3166 / country code lookup / capital city lookup / currencies by country / population / region resolver.$0.002
earthquakes-recentEarthquake feed / seismic activity / USGS / recent quakes / quake monitor / tremor data / fault line activity / tsunami alerts.$0.002
holiday-lookupPublic holidays / bank holidays / national holidays / federal holidays / holiday calendar / per-country dates.$0.002
sunrise-sunsetSunrise sunset times.$0.002
iata-airport-infoIATA / ICAO airport code lookup.$0.005
satellite-tileSatellite imagery tile / lat-lon to satellite PNG / Sentinel-2 tile API / cloud-free satellite snapshot / agent-callable satellite imagery.$0.005
SEE ALSO
agentutility(7) · locale(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org