Fonction timezone_location_get() PHP
Exemple
Retourne les informations de position de la zone horaire spécifiée :
<?php $tz=timezone_open("America/New_York"); echo timezone_location_get($tz); ?>
Définition et utilisation
timezone_location_get() retourne les informations de position de la zone horaire spécifiée.
Syntaxe
timezone_location_get(object);
Paramètres | Description |
---|---|
object | Obligatoire. Définit par timezone_open() Retourne l'objet DateTimeZone. |
Détails techniques
Valeur de retour : | Retourne un tableau contenant des informations sur la position des fuseaux horaires. |
---|---|
Version PHP : | 5.3+ |