PHP timezone_abbreviations_list() Fonction
Exemple
Imprimez le dst, le décalage et le nom du fuseau horaire pour le fuseau horaire "act" :
<?php
$tzlist = DateTimeZone::listAbbreviations();
print_r($tzlist["acst"]);
?> Définition et Utilisation
La fonction timezone_abbreviations_list() retourne un tableau associatif contenant le dst, le décalage et le nom du fuseau horaire.
Syntaxe
timezone_abbreviations_list() Détails Techniques
| Valeur de Retour : | Retourne un tableau associatif en cas de succès. FALSE en cas d'échec |
|---|---|
| Version PHP : | 5.2+ |