(PHP 7 >= 7.1.0, PHP 8)
IntlTimeZone::getIDForWindowsID -- intltz_get_id_for_windows_id — Translate a Windows timezone into a system timezone
Estilo orientado a objetos (method):
$timezoneId
, ?string $region
= null
): string|falseEstilo procedural:
$timezoneId
, ?string $region
= null
): string|falseTranslates a Windows timezone (e.g. "Pacific Standard Time") into a system timezone (e.g. "America/Los_Angeles").
Nota: This function requires ICU version ≥ 52.
Esta função não está documentada; apenas a lista de argumentos está disponível.
timezoneId
region
Returns the system timezone ou false
em caso de falha.
Versão | Descrição |
---|---|
8.0.0 |
region is now nullable.
|