IntlTimeZone::getWindowsID

intltz_get_windows_id

(PHP 7 >= 7.1.0, PHP 8)

IntlTimeZone::getWindowsID -- intltz_get_windows_idTranslate a system timezone into a Windows timezone

說明

面向?qū)ο箫L(fēng)格 (method):

public static IntlTimeZone::getWindowsID(string $timezoneId): string|false

過程化風(fēng)格:

intltz_get_windows_id(string $timezoneId): string|false

Translates a system timezone (e.g. "America/Los_Angeles") into a Windows timezone (e.g. "Pacific Standard Time").

注意: This function requires ICU version ≥ 52.

警告

本函數(shù)還未編寫文檔,僅有參數(shù)列表。

參數(shù)

timezoneId

返回值

Returns the Windows timezone 或者在失敗時返回 false.

參見