CakeFest 2024: The Official CakePHP Conference

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Получить необработанное значение смещения по Гринвичу (GMT) без учёта летнего времени

Описание

Объектно-ориентированный стиль (метод):

public IntlTimeZone::getRawOffset(): int

Процедурный стиль:

intltz_get_raw_offset(IntlTimeZone $timezone): int

Внимание

Функцию пока не задокументировали; для знакомства доступен только список аргументов.

Список параметров

У этой функции нет параметров.

Возвращаемые значения

add a note

User Contributed Notes 1 note

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