Easy Tutorial
❮ Php Pcre Php Pdo Connections ❯

PHP timezone_name_get() Function

PHP Date/Time Reference Manual

Example

Returns the name of the timezone:


Definition and Usage

The timezone_name_get() function returns the name of the timezone.

Syntax

Parameter Description
object Required. Specifies a DateTimeZone object.

Technical Details

Return Value: From the Timezone List
PHP Version: 5.2+
--- ---
❮ Php Pcre Php Pdo Connections ❯