PHP timezone_abbreviations_list() Funksie
Voorbeeld
Druk dst, offset en tydsonenaam vir die "act"-tydsone:
<?php
$tzlist = DateTimeZone::listAbbreviations();
print_r($tzlist["acst"]);
?>
Definisie en gebruik
Die timezone_abbreviations_list() gee 'n assosiatiewe skikking terug wat dst, offset en die tydsonenaam bevat.
Sintaksis
timezone_abbreviations_list()
Tegniese besonderhede
Terugkeerwaarde: | Wys 'n assosiatiewe skikking oor sukses. ONWAAR op mislukking |
---|---|
PHP weergawe: | 5,2+ |
❮ PHP Datum/Tyd Verwysing