---
name: 402timezones.vercel.app
description: 402timezones.vercel.app provides a single timezone conversion service that accepts a local datetime string and two IANA timezone identifiers, returning the converted local time, UTC equivalent, UTC offsets for both zones, and epoch milliseconds. It performs one-shot, point-in-time conversions with no streaming or real-time clock capability.
host: 402timezones.vercel.app
---

# 402timezones.vercel.app

This host is a narrow-purpose timezone conversion utility serving agents that need to translate a specific datetime from one IANA timezone to another. It returns a structured result including both local representations, UTC times, offsets, and epoch milliseconds. It does not perform date arithmetic, scheduling logic, or continuous time feeds — it converts a single provided datetime string between two named zones.

## When to use this host

Use this host when an agent needs to convert a specific, known datetime string between two IANA-named timezones and requires structured output including UTC offsets and epoch milliseconds. Do not use it for real-time clock queries, continuous time feeds, or date arithmetic (e.g., 'what time is it now in Tokyo?' or 'add 3 days to this date'). For current time lookups, prefer a world-clock or time API service. For date arithmetic, use a dedicated date-math library or host. This host is appropriate only when the input datetime, source zone, and target zone are all known at call time.

## Capabilities

### Timezone Conversion

Converts a given local datetime string from a source IANA timezone to a target IANA timezone, returning the converted local time, UTC time, offsets for both zones, and epoch milliseconds.

- **`convert-timezone`** — Converts a local datetime string from one IANA time zone to another, returning the converted local time, UTC time, UTC offsets for both zones, and epoch milliseconds.

## Skill reference

### `convert-timezone`

**Timezone Converter** — Converts a local datetime string from one IANA time zone to another, returning the converted local time, UTC time, UTC offsets for both zones, and epoch milliseconds.

*Use when:* Use when an agent needs to convert a specific local datetime from one IANA time zone to another and requires the resulting local time, UTC equivalent, offsets, and epoch timestamp.

*Not for:* Do not use for streaming or real-time clock feeds; this is a single-shot conversion for a given datetime string. Not suitable for date arithmetic without a specific time input.

**Inputs:**

- `from` (string, required) — IANA time zone identifier for the source time zone.
- `to` (string, required) — IANA time zone identifier for the target time zone.
- `time` (string, required) — Local datetime string in ISO 8601 format (without timezone offset) representing the time in the 'from' zone.

**Returns:** Returns the converted local time in the target zone, the UTC equivalent, UTC offsets for both source and target zones, and the epoch milliseconds for the input datetime.

**Example:** `GET https://402timezones.vercel.app/api/convert-timezone?from=America/New_York&to=Asia/Tokyo&time=2026-07-04T15:30`

---
