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

Descrizione

Stile orientato agli oggetti (method):

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

Stile procedurale:

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

Avviso

Questa funzione, al momento non è documentata; è disponibile soltanto la lista degli argomenti.

Elenco dei parametri

timestamp

local

rawOffset

dstOffset

Valori restituiti