Date & Time
Convert between UTC offsets API
Converts a wall-clock datetime from one fixed UTC offset (in minutes) to another via UTC, with no IANA/tz-database dependency so the result is fully deterministic. Answers 'Convert 14:30 UTC-5 to UTC+1', 'What is this local time in another offset?'.
Price$0.04per request
MethodPOST
Route/v1/datetime/offset-convert
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
datetimetimezoneutc-offsetconvertoffsetwall-clockdeterministicscheduling
API URL
Integration docshttps://x402.hexl.dev/v1/datetime/offset-convertExample request
{
"datetime": "2026-03-09T14:30:00",
"fromOffsetMinutes": -300,
"toOffsetMinutes": 60
}Example response
{
"inputLocal": "2026-03-09T14:30:00",
"fromOffset": "-05:00",
"toOffset": "+01:00",
"utc": "2026-03-09T19:30:00.000Z",
"convertedLocal": "2026-03-09T20:30:00+01:00",
"convertedWeekday": "Monday",
"offsetDeltaMinutes": 360,
"interpretation": "2026-03-09T14:30:00 at -05:00 = 2026-03-09T19:30:00.000Z = 2026-03-09T20:30:00 at +01:00 (Monday)."
}Input schema
{
"type": "object",
"required": [
"datetime",
"fromOffsetMinutes",
"toOffsetMinutes"
],
"properties": {
"datetime": {
"type": "string",
"examples": [
"2026-03-09T14:30:00"
]
},
"fromOffsetMinutes": {
"type": "integer",
"examples": [
-300
]
},
"toOffsetMinutes": {
"type": "integer",
"examples": [
60
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}