Skip to main content

Timezone

Standardized timezone offsets and descriptions for proper timezone conversion and display across different geographical regions.

The ref_timezone Object

Timezone collection provides standardized timezone offset information and human-readable descriptions for handling time-based data throughout the system.

Field NameTypeDescription
timezone_offsetstringPrimary key. Timezone offset in format ±HH:MM (e.g., "+00:00", "+01:00", "-05:00").
timezonestringHuman-readable timezone description including major cities and standard time names.

List Timezones

List existing timezones.

GET /items/ref_timezone

Query Parameters

Supports all global query parameters.

Returns

An array of up to limit timezone objects. If no items are available, data will be an empty array.


Retrieve a Timezone

Retrieve a specific timezone by offset.

GET /items/ref_timezone/:timezone_offset

Returns

Returns a timezone object if a valid timezone offset was provided.


Create a Timezone

Create a new timezone.

POST /items/ref_timezone

{
"timezone_offset": "+12:00",
"timezone": "+12:00 Fiji Time, New Zealand Standard Time (Auckland)"
}

Query Parameters

Supports all global query parameters.

Request Body

A partial timezone object.

Returns

Returns the timezone object for the created timezone.


Update a Timezone

Update an existing timezone.

PATCH /items/ref_timezone/:timezone_offset

{
"timezone": "Updated timezone description"
}

Query Parameters

Supports all global query parameters.

Request Body

A partial timezone object.

Returns

Returns the timezone object for the updated timezone.


Delete a Timezone

Delete an existing timezone.

DELETE /items/ref_timezone/:timezone_offset

Returns

Empty body.


Sample Data

Timezone OffsetTimezone Description
+00:00+00:00 GMT (London, Lisbon)
+01:00+01:00 Central European Time (Paris, Berlin)
+02:00+02:00 Eastern European Time (Cairo, Helsinki)
+03:00+03:00 Moscow Time, East Africa Time (Nairobi)
+04:00+04:00 Gulf Standard Time (Dubai), Samara Time