array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'intltimezone.getoffset.php', 1 => 'IntlTimeZone::getOffset', 2 => 'Get the time zone raw and GMT offset for the given moment in time', ), 'up' => array ( 0 => 'class.intltimezone.php', 1 => 'IntlTimeZone', ), 'prev' => array ( 0 => 'intltimezone.getidforwindowsid.php', 1 => 'IntlTimeZone::getIDForWindowsID', ), 'next' => array ( 0 => 'intltimezone.getrawoffset.php', 1 => 'IntlTimeZone::getRawOffset', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/intl/intltimezone/getoffset.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

IntlTimeZone::getOffset

intltz_get_offset

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

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

Beschreibung

Objektorientierter Stil (method):

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

Prozeduraler Stil:

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

Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Parameter zur Verfügung.

Parameter-Liste

timestamp

local

rawOffset

dstOffset

Rückgabewerte