IntlTimeZone::getWindowsID
intltz_get_windows_id
(PHP 7 >= 7.1.0, PHP 8)
IntlTimeZone::getWindowsID -- intltz_get_windows_id — Translate a system timezone into a Windows timezone
Description
Object-oriented style (method):
$timezoneId
): string|falseProcedural style:
$timezoneId
): string|falseTranslates a system timezone (e.g. "America/Los_Angeles") into a Windows timezone (e.g. "Pacific Standard Time").
Note: This function requires ICU version ≥ 52.
This function is currently not documented; only its argument list is available.
Parameters
-
timezoneId
-
Return Values
Returns the Windows timezone or false
on failure.