IntlTimeZone::getIanaID

intltz_get_iana_id

(PHP 8 >= 8.4.0)

IntlTimeZone::getIanaID -- intltz_get_iana_idTranslate a timezone identifier to its IANA equivalent

Açıklama

Nesne yönelimli kullanım (method):

public static function IntlTimeZone::getIanaID(string $timezoneId): string|false

Yordamsal kullanım:

function intltz_get_iana_id(string $timezoneId): string|false

Translates a timezone identifier to its IANA equivalent. For example, "GMT" returns "Etc/GMT", and "US/Eastern" returns "America/New_York".

Bilginize: This function requires ICU version >= 74.

Bağımsız Değişkenler

timezoneId
The timezone identifier to translate.

Dönen Değerler

Returns the IANA timezone identifier as a string, or false on failure.

Ayrıca Bakınız

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top