PHP timezone_abbreviations_list () function
PHP Date / Time Reference Manual
Examples
Output "act" time zone for daylight saving time, and time zone offset Name:
<?php
$tzlist=timezone_abbreviations_list();
print_r($tzlist["act"]);
?>
$tzlist=timezone_abbreviations_list();
print_r($tzlist["act"]);
?>
Running instance »
Definition and Usage
timezone_abbreviations_list () returns contain daylight saving time, associative arrays offset and time zone names.
grammar
timezone_abbreviations_list();
technical details
return value: | Success, returns an associative array, then failed to return FALSE. |
---|---|
PHP version: | 5.2+ |
PHP Date / Time Reference Manual