CakeFest 2024: The Official CakePHP Conference

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

Description

Style orienté objet (method):

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

Style procédural:

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").

Note: This function requires ICU version ≥ 52.

Avertissement

Cette fonction est actuellement non documentée ; seule la liste des arguments est disponible.

Liste de paramètres

timezoneId

region

Valeurs de retour

Returns the system timezone ou false si une erreur survient.

Historique

Version Description
8.0.0 region is now nullable.

Voir aussi

add a note

User Contributed Notes

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