mirrored listing x402 eip155:8453solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp

Converts a datetime from one IANA timezone to another with correct DST handling

Converts a datetime from one IANA timezone to another with correct DST handling. 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. Use it for DST-aware time arithmetic, wall-clock to UTC conversion, or converting across cities.

Do you run x402.agentutility.ai? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
5000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-16
updated

Provider

x402.agentutility.ai · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x6c0752c09e7F6fA6526fCDf40e456a159ebB5621",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "FJqAJ4dXkFbrp3EEo8E9x98iaBGUQwaU8Srz5ePfUXLH",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  }
]

Output schema

{
  "bazaar": {
    "discoverable": true,
    "info": {
      "input": {
        "body": {
          "datetime": "2026-05-08T12:00:00",
          "from_tz": "America/Los_Angeles",
          "to_tz": "Asia/Tokyo"
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "from": {
            "datetime": "2026-05-08T12:00:00-07:00",
            "tz": "America/Los_Angeles",
            "utc_offset_minutes": -420
          },
          "source": "Intl.DateTimeFormat (built-in, IANA tzdata)",
          "to": {
            "datetime": "2026-05-09T04:00:00+09:00",
            "tz": "Asia/Tokyo",
            "utc_offset_minutes": 540
          },
          "utc_iso": "2026-05-08T19:00:00.000Z",
          "utc_offset_diff_hours": 16
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "properties": {
                "datetime": {
                  "description": "ISO-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.",
                  "type": "string"
                },
                "from_tz": {
                  "description": "IANA timezone for the input wall-time (e.g. 'America/Los_Angeles').",
                  "type": "string"
                },
                "to_tz": {
                  "description": "IANA timezone for the output (e.g. 'Asia/Tokyo').",
                  "type": "string"
                }
              },
              "required": [
                "datetime",
                "from_tz",
                "to_tz"
              ]
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "properties": {
                "from": {
                  "properties": {
                    "datetime": {
                      "type": "string"
                    },
                    "tz": {
                      "type": "string"
                    },
                    "utc_offset_minutes": {
                      "type": "integer"
                    }
                  },
                  "type": "object"
                },
                "source": {
                  "type": "string"
                },
                "to": {
                  "properties": {
                    "datetime": {
                      "type": "string"
                    },
                    "tz": {
                      "type": "string"
                    },
                    "utc_offset_minutes": {
                      "type": "integer"
                    }
                  },
                  "type": "object"
                },
                "utc_iso": {
                  "type": "string"
                },
                "utc_offset_diff_hours": {
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  },
  "builder-code": {
    "info": {
      "a": "bc_awpbwsy3"
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "a": {
          "description": "App builder code",
          "pattern": "^[a-z0-9_]{1,32}$",
          "type": "string"
        },
        "s": {
          "description": "Service builder codes",
          "items": {
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "type": "array"
        },
        "w": {
          "description": "Wallet builder code",
          "pattern": "^[a-z0-9_]{1,32}$",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}

Use it

curl

curl "https://x402.agentutility.ai/timezone-convert"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://x402.agentutility.ai/timezone-convert");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}

Python

import httpx
res = httpx.get("https://x402.agentutility.ai/timezone-convert")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/5214.json, and this resource appears in /discovery/resources and /discovery/search.