SunshinePHP 2019

IntlTimeZone::getRawOffset

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

IntlTimeZone::getRawOffsetGet the raw GMT offset (before taking daylight savings time into account

Description

public int IntlTimeZone::getRawOffset ( void )

Warning

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

Parameters

This function has no parameters.

Return Values

add a note add a note

User Contributed Notes 1 note

up
0
Anonymous
5 months 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.
To Top