IntlTimeZone::getIDForWindowsID

intltz_get_id_for_windows_id

Translate a Windows timezone into a system timezone

&reftitle.description;

&style.oop; (method):

public static ``string``false```IntlTimeZone::getIDForWindowsID` `string` `timezoneId` ``string``null```region`&null;

&style.procedural;:

``string``false```intltz_get_id_for_windows_id` `string` `timezoneId` ``string``null```region`&null;

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

This function requires ICU version ≥ 52.

&warn.undocumented.func;
&reftitle.parameters;

`timezoneId`

`region`

&reftitle.returnvalues;

Returns the system timezone&return.falseforfailure;.

&reftitle.changelog;

&Version; | &Description;
8.0.0 | `region` is now nullable.

&reftitle.seealso;

- `IntlTimeZone::getWindowsID`