IntlTimeZone::getIDForWindowsID

intltz_get_id_for_windows_id

(PHP 7 >= 7.1.0)

IntlTimeZone::getIDForWindowsID -- intltz_get_id_for_windows_idTranslate a Windows timezone into a system timezone

Description

Object oriented style (method):

public static IntlTimeZone::getIDForWindowsID ( string $timezone [, string $region ] ) : string|false

Procedural style:

intltz_get_id_for_windows_id ( string $timezone [, string $region ] ) : string|false

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

Note: This function requires ICU version ≥ 52.

Warning

This function is currently not documented; only its argument list is available.

Parameters

timezone
region

Return Values

Returns the system timezone or false on failure.

See Also

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/intltimezone.getidforwindowsid.php