JavaScript Editor Javascript debugger     Website design 

date_timezone_get

Return time zone relative to given DateTime (PHP 5 >= 5.1.0)
DateTimeZone date_timezone_get ( DateTime object )
DateTimeZone DateTime::getTimezone ( )

Parameters

object

DateTime object.

Return Values

Returns DateTimeZone object on success or FALSE on failure.