# x402.forgemesh.io UTC Offset Calculator

> x402.forgemesh.io UTC Offset Calculator is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-16).

Converts a local datetime from one IANA timezone to another, automatically handling daylight-saving transitions, and returns the local time in the target zone, UTC, and epoch seconds.

## Facts

- Endpoint: POST https://x402.forgemesh.io/utc-offset-calculator
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-forgemesh-io-utc-offset-calculator-aee5294a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__JJialVb_CYtw7EvGFoX4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-forgemesh-io-utc-offset-calculator-aee5294a -d '<json body>'
```

Example prompt: What time will it be in Tokyo when it's 3:30pm on March 12 in New York? Make sure daylight saving is handled correctly.

## When to prefer this

Choose this endpoint when you need timezone conversion that correctly accounts for daylight-saving time transitions rather than applying a fixed UTC offset, especially around spring/fall clock changes. Prefer it over manual offset arithmetic for global scheduling, event coordination, or any application where DST correctness is critical. It also returns epoch seconds, making downstream comparisons and storage straightforward.

## Known failure modes

- Invalid or unrecognized IANA timezone string in 'from' or 'to' field
- Malformed datetime string not matching YYYY-MM-DD HH:MM format
- Ambiguous local time during DST fall-back hour
- Missing required fields (from, to, or time)
- Payment failure or insufficient USDC balance for the $0.001 fee

## How this service works

Takes a time in one timezone and returns the equivalent moment in another, handling daylight-saving transitions automatically rather than assuming a fixed offset, with output including local time, UTC, and epoch seconds. For global scheduling agents where 'just add the hours' silently breaks twice a year.

## Output

Returns the converted local time in the target IANA timezone with daylight-saving transitions correctly applied, the equivalent UTC datetime, and the Unix epoch seconds for the moment — giving agents a complete, unambiguous representation of the instant.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string"
  },
  "from": {
   "type": "string"
  },
  "time": {
   "type": "string",
   "description": "YYYY-MM-DD HH:MM in from-zone"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "utc": "2026-07-20T06:00:00.000Z",
  "converted": "2026-07-20T01:00:00"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-forgemesh-io-utc-offset-calculator-aee5294a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
