Dutch PHP Conference 2025 - Call For Papers

IntlTimeZone::getIDForWindowsID

intltz_get_id_for_windows_id

(PHP 7 >= 7.1.0, PHP 8)

IntlTimeZone::getIDForWindowsID -- intltz_get_id_for_windows_idTranslate a Windows timezone into a system timezone

Опис

Об'єктно-орієнтований стиль (method):

public static IntlTimeZone::getIDForWindowsID(string $timezoneId, ?string $region = null): string|false

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

intltz_get_id_for_windows_id(string $timezoneId, ?string $region = null): string|false

Translates a Windows timezone (e.g. "Pacific Standard Time") into a system timezone (e.g. "America/Los_Angeles").

Зауваження: This function requires ICU version ≥ 52.

Увага

Наразі ця функція не документована. Доступний лише список її параметрів.

Параметри

timezoneId

region

Значення, що повертаються

Returns the system timezone або false в разі помилки.

Журнал змін

Версія Опис
8.0.0 region is now nullable.

Прогляньте також

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top