Easy Tutorial
❮ Func Xml Get Current Column Number Func Cal Jdtojewish ❯

PHP date_timezone_get() Function

PHP Date/Time Reference Manual

Example

Returns the timezone of the given DateTime object:


Definition and Usage

The date_timezone_get() function returns the timezone of the given DateTime object.

Syntax

Parameter Description
object Required. Specifies a DateTime object created by date_create()

Technical Details

Return Value: Returns a DateTimeZone object on success, or FALSE on failure.
PHP Version: 5.2+
--- ---
❮ Func Xml Get Current Column Number Func Cal Jdtojewish ❯