update page now

IntlTimeZone::getIanaID

intltz_get_iana_id

(PHP 8 >= 8.4.0)

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

Beschreibung

Objektorientierter Stil (method):

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

Prozeduraler Stil:

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".

Hinweis: This function requires ICU version >= 74.

Parameter-Liste

timezoneId
The timezone identifier to translate.

Rückgabewerte

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

Siehe auch

add a note

User Contributed Notes

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