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

Descripción

Estilo orientado a objetos (method):

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

Estilo por procedimientos:

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").

Nota: This function requires ICU version ≥ 52.

Advertencia

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Parámetros

timezoneId

region

Valores devueltos

Returns the system timezone o false en caso de error.

Historial de cambios

VersiónDescripción
8.0.0region is now nullable.

Ver también

To Top