{
  "x402Version": 2,
  "id": 30926,
  "slug": "30926",
  "resource": "https://x402.agentutility.ai/timezone-convert",
  "description": "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.",
  "type": "http",
  "serviceName": "AgentUtility.ai",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1783070352/bazaar-icons/54f004eda341546b.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x6c0752c09e7F6fA6526fCDf40e456a159ebB5621",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "FJqAJ4dXkFbrp3EEo8E9x98iaBGUQwaU8Srz5ePfUXLH",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "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"
      }
    }
  },
  "tags": [
    "locale",
    "timezone",
    "convert",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "x402.agentutility.ai",
  "lastUpdated": "2026-10-08T06:08:11.88Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:08:11.778Z"
  },
  "metadata": {
    "serviceName": "AgentUtility.ai",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1783070352/bazaar-icons/54f004eda341546b.png",
    "extensions": {
      "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.agentutility.ai",
    "manifest_name": "x402.agentutility.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "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
  }
}