Current time
GET/api/v1/time
The current time in a time zone or city: local time, UTC offset, abbreviation, daylight saving and the next clock change. Without parameters: UTC.
Parameters
| Name | Meaning |
|---|---|
tzoptional | IANA time zone name, e.g. Europe/London. Aliases such as Asia/Calcutta are accepted and answered with the current name. |
cityoptional | City slug instead of tz, e.g. london (find slugs with /cities). |
Example request
curl "https://hourora.app/api/v1/time?tz=Europe/London"Example response
{
"zone": "Europe/London",
"local": "2026-10-14T06:00:55",
"iso": "2026-10-14T06:00:55+01:00",
"offsetMinutes": 60,
"offset": "+01:00",
"utcOffset": "UTC+1",
"abbreviation": "BST",
"dst": true,
"city": null,
"utc": "2026-10-14T05:00:55.062Z",
"unixMs": 1791954055062,
"date": "2026-10-14",
"time": "06:00:55",
"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"
}Real response from this server.