PHP timezone_abbreviations_list()Functions

PHP Date/TimePHP Date/Time Reference Manual

Examples

Output the daylight saving time, offset, and timezone name for the "act" timezone:

<?php
$tzlist=timezone_abbreviations_list();
print_r($tzlist["act"]);
?>

Run Example »

Definition and Usage

timezone_abbreviations_list() returns an associative array containing daylight saving time, offset, and timezone name.

Syntax

timezone_abbreviations_list();

Technical Details

Return Value: Returns an associative array on success, or FALSE on failure.
PHP Version: 5.2+


PHP Date/TimePHP Date/Time Reference Manual Other Extensions