Menu Riverview Church

TIMEZONE_OPEN

Creates new DateTimeZone object

SYNTAX

timezone_open ( string $timezone ) : DateTimeZone

PARAMETERS

timezone

One of the supported timezone names or an offset value (+0200).

RETURN

Returns DateTimeZone on success or FALSE on failure.

EXAMPLES

DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => America/Los_Angeles
)

PHP