IntlTimeZone::getIanaID
intltz_get_iana_id
Translate a timezone identifier to its IANA equivalent
説明
オブジェクト指向型 (method):
public static stringfalse IntlTimeZone::getIanaID(string $timezoneId)
手続き型:
stringfalse intltz_get_iana_id(string $timezoneId)
Translates a timezone identifier to its IANA equivalent. For example,
"GMT" returns "Etc/GMT", and
"US/Eastern" returns "America/New_York".
注意:
This function requires ICU version >= 74.
パラメータ
-
timezoneId
-
The timezone identifier to translate.
戻り値
Returns the IANA timezone identifier as a string, or false on failure.
参考
- intltz_get_id_for_windows_id
- intltz_get_windows_id
- intltz_create_time_zone