fonction timezone_location_get PHP ()
PHP Date / Heure Manuel de référence
Exemples
Renvoie les informations d'emplacement pour le fuseau horaire spécifié:
<?php
$tz=timezone_open("Asia/Taipei");
echo timezone_location_get($tz);
?>
$tz=timezone_open("Asia/Taipei");
echo timezone_location_get($tz);
?>
Exécution instance »
Définition et utilisation
timezone_location_get () renvoie les informations de localisation zone spécifiée.
grammaire
timezone_location_get (object);
参数 | 描述 |
---|---|
object | 必需。规定一个由 timezone_open() 返回的 DateTimeZone 对象。 |
détails techniques
Retours: | Elle retourne un tableau d'informations de localisation contenues dans le fuseau horaire. |
---|---|
PHP version: | 5.3+ |
