Php/docs/intltimezone.getwindowsid

From Get docs

IntlTimeZone::getWindowsID

intltz_get_windows_id

(PHP 7 >= 7.1.0)

IntlTimeZone::getWindowsID -- intltz_get_windows_idTranslate a system timezone into a Windows timezone


Description

Object oriented style (method):

public static IntlTimeZone::getWindowsID ( string $timezone ) : string|false

Procedural style:

intltz_get_windows_id ( string $timezone ) : string|false

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

Note:

This function requires ICU version ≥ 52.

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


Parameters

timezone


Return Values

Returns the Windows timezone or FALSE on failure.


See Also