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
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
| Name | Type | Required | What 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.
Related tools
- Time zone converterConvert a date and time from one time zone to others, with daylight saving handled for that date.
timezone-convert - Unix timestamp converterConvert a Unix timestamp to a date, or a date to a Unix timestamp, in seconds and milliseconds.
unix-timestamp - Date difference calculatorFind the time between two dates: total days, weeks, hours, minutes and seconds, plus years, months and days.
date-diff - Add or subtract time from a dateAdd or subtract years, months, weeks, days, hours and minutes from a date and get the resulting date.
date-add - Age calculatorWork out an exact age in years, months and days on a given date, plus the next birthday.
age-calculator - Aspect ratio calculatorSimplify a width and height to a ratio such as 16:9, and scale to a new width or height.
aspect-ratio