PHP timezone_abbreviations_list() Function
Example
Output the daylight saving time (dst), offset, and timezone name of the "act" timezone:
<?php $tzlist;timezone_abbreviations_list();; print_r($tzlist["act"]); ?>
Definition and Usage
The timezone_abbreviations_list() function returns an associative array containing daylight saving time, offset, and timezone names.
Syntax
timezone_abbreviations_list();
Technical Details
Return Value: | Returns an associative array on success, FALSE on failure. |
---|---|
PHP Version: | 5.2+ |