# How do I convert a time between time zones?

**Short answer:** Call GET /v1/convert-time with a time, a from zone and a to zone (IANA names such as Asia/Qatar). It returns both local times with their UTC offsets for that date, so daylight saving is handled.

## Try it

```
curl 'https://api-router.instinctagentai.workers.dev/v1/convert-time?time=2026-11-25T14:30&from=Asia/Qatar&to=America/New_York'
```

Example result (captured 2026-11-25):

```
{
  "utc": "2026-11-25T11:30:00.000Z",
  "from": { "time_zone": "Asia/Qatar", "local_time": "2026-11-25T14:30:00", "offset": "+03:00" },
  "to": { "time_zone": "America/New_York", "local_time": "2026-11-25T06:30:00", "offset": "-05:00" }
}
```

Over MCP: tool "convert_time" at https://api-router.instinctagentai.workers.dev/mcp, or "convert_time_between_time_zones" at https://api-router.instinctagentai.workers.dev/mcp/ask (same function, different name).

## Limits

Time defaults to now if you leave it out. For a local time that a daylight-saving change skips or repeats, the result picks one valid instant.

All questions: https://api-router.instinctagentai.workers.dev/ask
