Easy Tutorial
❮ Php Form Complete Func Http Headers List ❯

PHP timezone_open() Function

PHP Date/Time Reference Manual

Example

Creates a new DateTimeZone object and returns the name of the timezone:


Definition and Usage

The timezone_open() function creates a new DateTimeZone object.

Syntax

Parameter Description
timezone Required. Specifies a timezone. <br> <br> Tip: View a list of all supported timezones in PHP

Technical Details

Return Value: Returns a DateTimeZone object on success, or FALSE on failure.
PHP Version: 5.2+
--- ---
❮ Php Form Complete Func Http Headers List ❯