Dutch PHP Conference 2025 - Call For Papers

IntlTimeZone::getWindowsID

intltz_get_windows_id

(PHP 7 >= 7.1.0, PHP 8)

IntlTimeZone::getWindowsID -- intltz_get_windows_idTranslate a system timezone into a Windows timezone

Опис

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

public static IntlTimeZone::getWindowsID(string $timezoneId): string|false

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

intltz_get_windows_id(string $timezoneId): string|false

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

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

Увага

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

Параметри

timezoneId

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

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

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

add a note

User Contributed Notes

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