(PHP 7 >= 7.1.0, PHP 8)
IntlTimeZone::getIDForWindowsID -- intltz_get_id_for_windows_id — Translate a Windows timezone into a system timezone
面向對象風格 (method):
$timezoneId
, ?string $region
= null
): string|false過程化風格:
$timezoneId
, ?string $region
= null
): string|falseTranslates a Windows timezone (e.g. "Pacific Standard Time") into a system timezone (e.g. "America/Los_Angeles").
注意: This function requires ICU version ≥ 52.
本函數(shù)還未編寫文檔,僅有參數(shù)列表。
timezoneId
region
Returns the system timezone 或者在失敗時返回 false
.
版本 | 說明 |
---|---|
8.0.0 |
region is now nullable.
|