diff --git a/reference/intl/functions/intltz-get-iana-id.xml b/reference/intl/functions/intltz-get-iana-id.xml new file mode 100644 index 000000000000..2e5ba610276b --- /dev/null +++ b/reference/intl/functions/intltz-get-iana-id.xml @@ -0,0 +1,80 @@ + + + + intltz_get_iana_id + Get the IANA identifier for a given timezone + + + + &reftitle.description; + + stringfalseintltz_get_iana_id + stringtimezoneId + + + 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 74 or later. + + + + + + &reftitle.parameters; + + + + timezoneId + + + The timezone identifier to translate. + + + + + + + + + &reftitle.returnvalues; + + Returns the IANA timezone identifier as a &string;, or &false; on failure. + + + + + &reftitle.seealso; + + + intltz_get_id_for_windows_id + intltz_get_windows_id + intltz_create_time_zone + + + + + +