PHP - Manual: IntlTimeZone::getWindowsID
2024-11-14
(PHP 7 >= 7.1.0, PHP 8)
IntlTimeZone::getWindowsID -- intltz_get_windows_id — Translate a system timezone into a Windows timezone
面向对象风格 (method):
$timezoneId
): string|false过程化风格:
$timezoneId
): string|falseTranslates a system timezone (e.g. "America/Los_Angeles") into a Windows timezone (e.g. "Pacific Standard Time").
注意: This function requires ICU version ≥ 52.
本函数还未编写文档,仅有参数列表。
timezoneId
Returns the Windows timezone 或者在失败时返回 false
.
官方地址:https://www.php.net/manual/en/intltimezone.getwindowsid.php