PHP 8.3.4 Released!

IntlTimeZone::getIDForWindowsID

intltz_get_id_for_windows_id

(PHP 7 >= 7.1.0, PHP 8)

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

Beschreibung

Objektorientierter Stil (method):

public static IntlTimeZone::getIDForWindowsID(string $timezoneId, ?string $region = null): string|false

Prozeduraler Stil:

intltz_get_id_for_windows_id(string $timezoneId, ?string $region = null): string|false

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

Hinweis: This function requires ICU version ≥ 52.

Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Parameter zur Verfügung.

Parameter-Liste

timezoneId

region

Rückgabewerte

Returns the system timezoneBei einem Fehler wird false zurückgegeben..

Changelog

Version Beschreibung
8.0.0 region is now nullable.

Siehe auch

add a note

User Contributed Notes

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