HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

PHP timezone_abbreviations_list() Function

PHP Date/Time PHP Date/Time Reference

Example

Print dst, offset, and timezone name for the "act" timezone:

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

Run example »

Definition and Usage

The timezone_abbreviations_list() returns an associative array containing dst, offset, and the timezone name.


Syntax

timezone_abbreviations_list();

Technical Details

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


PHP Date/Time PHP Date/Time Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE