Constructor: timezone
Timezone information.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | Unique timezone ID. |
name | string | Yes | Human-readable and localized timezone name. |
utc_offset | int | Yes | UTC 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];