Menu Riverview Church

DATE_TIMEZONE_GET

Return time zone relative to given DateTime

SYNTAX

date_timezone_get ( DateTimeInterface $object ) : DateTimeZone

PARAMETERS

object

A DateTime object returned by date_create()

RETURN

Returns a DateTimeZone object on success or FALSE on failure.

EXAMPLES

UTC

PHP