IntlTimeZone::getRawOffset
intltz_get_raw_offset
(PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1)
IntlTimeZone::getRawOffset -- intltz_get_raw_offset — Get the raw GMT offset (before taking daylight savings time into account
Description
Object-oriented style (method):
public IntlTimeZone::getRawOffset():
int
Procedural style:
WarningThis function is
currently not documented; only its argument list is available.
Parameters
This function has no parameters.
Return Values
Anonymous ¶ 7 years ago
The return value is the difference, in milliseconds, between UTC and local time. Note that this means that the offset is positive if the local timezone is behind UTC and negative if it is ahead.