PHP timezone_location_get() İşlev
Örnek
Verilen saat dilimi için konum bilgilerini döndür:
<?php
$tz=timezone_open("Asia/Taipei");
print_r(timezone_location_get($tz));
?>
Tanım ve Kullanım
timezone_location_get(), verilen saat dilimi için konum bilgilerini döndürür.
Sözdizimi
timezone_location_get(object)
Parametre Değerleri
Parameter | Description |
---|---|
object | Required. Specifies a DateTimeZone object returned by timezone_open() |
Teknik detaylar
Geri dönüş değeri: | Saat dilimi için konum bilgilerini içeren bir dizi döndürür |
---|---|
PHP Sürümü: | 5.3+ |
❮ PHP Tarih/Saat Referansı