PHP 8.1.24 Released!

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

Descrição

Estilo orientado a objetos (method):

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

Estilo procedural:

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.

Aviso

Esta função não está documentada; apenas a lista de argumentos está disponível.

Parâmetros

timezoneId

region

Valor Retornado

Returns the system timezone ou false em caso de falha.

Changelog

Versão Descrição
8.0.0 region is now nullable.

Veja Também

add a note

User Contributed Notes

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