Current time in any time zone

Get the current date and time in one or more time zones, with Unix time and UTC offset.

Input

IANA time zone names, such as Europe/London.

Result

Fill in the input and press Run.

Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.

Use it from code or an agent

curl -s https://setget.net/v1/tools/time-now \
  -H 'Content-Type: application/json' \
  -d '{"input":{"zones":["UTC","Asia/Tokyo"]}}'
import json, urllib.request

body = {'input': {'zones': ['UTC', 'Asia/Tokyo']}}
request = urllib.request.Request("https://setget.net/v1/tools/time-now", json.dumps(body).encode(),
                                 {"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/time-now", {
  method: "POST",
  headers: {"Content-Type": "application/json"},
  body: JSON.stringify({"input":{"zones":["UTC","Asia/Tokyo"]}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
  "slug": "time-now",
  "input": {
    "zones": [
      "UTC",
      "Asia/Tokyo"
    ]
  }
}
{
  "input": {
    "zones": [
      "UTC",
      "Asia/Tokyo"
    ]
  }
}

Endpoint: POST /v1/tools/time-now. Over MCP: run_tool with slug: "time-now". Machine-readable: input schema, Markdown. Connect an agent.

Inputs

NameTypeRequiredWhat it does
zones array no IANA time zone names, such as Europe/London. Default: ["UTC"].

Example

Input
{
  "zones": [
    "UTC",
    "Asia/Tokyo"
  ]
}
Result

Different every time. Press the example button above to see one.

Questions

Which time zone names work?
IANA names such as Europe/London, America/New_York or Asia/Kolkata. Abbreviations like PST or IST are not accepted because several places share them.