Link Search Menu Expand Document

Constructor: timezone

Back to constructors index

Timezone information.

Attributes:

NameTypeRequiredDescription
idstringYesUnique timezone ID.
namestringYesHuman-readable and localized timezone name.
utc_offsetintYesUTC offset in seconds, which may be displayed in hh:mm format by the client together with the human-readable name (i.e. $name UTC -01:00).

Type: Timezone

Example:

$timezone = ['_' => 'timezone', 'id' => 'string', 'name' => 'string', 'utc_offset' => int];