Aktuelle Uhrzeit
GET/api/v1/time
Die aktuelle Uhrzeit in einer Zeitzone oder Stadt: Ortszeit, UTC-Offset, Abkürzung, Sommerzeit und die nächste Zeitumstellung. Ohne Parameter: UTC.
Parameter
| Name | Bedeutung |
|---|---|
tzoptional | IANA-Zeitzonenname, z. B. Europe/London. Aliasse wie Asia/Calcutta werden akzeptiert und mit dem aktuellen Namen beantwortet. |
cityoptional | Stadt-Slug statt tz, z. B. london (Slugs finden Sie mit /cities). |
Beispielanfrage
curl "https://hourora.app/api/v1/time?tz=Europe/London"Beispielantwort
{
"zone": "Europe/London",
"local": "2026-10-14T02:04:36",
"iso": "2026-10-14T02:04:36+01:00",
"offsetMinutes": 60,
"offset": "+01:00",
"utcOffset": "UTC+1",
"abbreviation": "BST",
"dst": true,
"city": null,
"utc": "2026-10-14T01:04:36.015Z",
"unixMs": 1791939876015,
"date": "2026-10-14",
"time": "02:04:36",
"weekday": "Wednesday",
"dayOfYear": 287,
"isoWeek": 42,
"dstObserved": true,
"nextTransition": {
"at": "2026-10-25T01:00:00.000Z",
"unixMs": 1792890000000,
"type": "dst-end",
"fromOffsetMinutes": 60,
"toOffsetMinutes": 0,
"shiftMinutes": -60,
"fromAbbreviation": "BST",
"toAbbreviation": "GMT",
"localBefore": "2026-10-25T02:00:00",
"localAfter": "2026-10-25T01:00:00"
},
"tzdata": "2026e"
}Echte Antwort dieses Servers.