← All widgetsTier 1Time

World Clock

Multi-timezone live clock.

Shows the live time across one or more timezones.

type · live_clock
Runs entirely in the shell — no backend needed.

How to use it

Just ask for it in chat — the agent emits this widget and the shell renders it:

Try saying
world clock for New York, London, and Tokyo

Example

The agent returns this A2UI component (inside the components array of a /chat response):

live_clock.json
{
  "type": "live_clock",
  "format": "24h",
  "timezones": [
    {
      "label": "NYC",
      "offset": -5
    },
    {
      "label": "London",
      "offset": 0
    },
    {
      "label": "Tokyo",
      "offset": 9
    }
  ]
}

Properties

PropTypeDescription
timezones{label,offset}[]Zones to display
format12h|24hTime format

Browse the full Widget Index, the Widget Catalog, or learn the A2UI system behind it.