PHP timezone_abbreviations_list() Function

PHP time() function
PHP timezone_identifiers_list() Function

In this article, you will learn how to get the detail about the timezone. The timezone_abbrevations_list() function returns an associative array that contains the timezone name, offset, and DST.

What is the syntax of the TIoe MEZONE_ABBREVIATIONS_LIST() function in PHP?

timezone_abbreviations_list()

Examples of the TIMEZONE_ABBREVIATIONS_LIST() function

Example 1. In this example, we use the TIMEZONE_ABBREVIATIONS_LIST() method

<?php
$result= DateTimeZone::listAbbreviations();
print_r($result["acst"]);
?>
PHP time() function
PHP timezone_identifiers_list() Function
en English
X
Scroll to Top