IntlTimeZone::getOffset

intltz_get_offset

Get the time zone raw and GMT offset for the given moment in time

Description

Object-oriented style (method):

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

Procedural style:

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

Warning

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

Parameters

timestamp

local

rawOffset

dstOffset

Return Values