W3cubDocs

/PHP

IntlTimeZone::getOffset

intltz_get_offset

(PHP 5 >= 5.5.0, PHP 7, PECL >= 3.0.0a1)

IntlTimeZone::getOffset -- intltz_get_offsetGet the time zone raw and GMT offset for the given moment in time

Description

Object oriented style (method):

public IntlTimeZone::getOffset ( float $date , bool $local , int &$rawOffset , int &$dstOffset ) : bool

Procedural style:

intltz_get_offset ( IntlTimeZone $timezone , float $date , bool $local , int &$rawOffset , int &$dstOffset ) : bool
Warning

This function is currently not documented; only its argument list is available.

Parameters

date
local
rawOffset
dstOffset

Return Values

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/intltimezone.getoffset.php