Statement on glibc/iconv Vulnerability

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

Descrizione

Stile orientato agli oggetti (method):

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

Stile procedurale:

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.

Avviso

Questa funzione, al momento non è documentata; è disponibile soltanto la lista degli argomenti.

Elenco dei parametri

timezoneId

region

Valori restituiti

Returns the system timezone o false in caso di fallimento.

Log delle modifiche

Versione Descrizione
8.0.0 region is now nullable.

Vedere anche:

add a note

User Contributed Notes

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