PHP timezone_abbreviations_list() Function

PHP timezone_abbreviations_list Function


Definition :

In php time()  Function is inbuilt function. PHP timezone_abbreviations_list() function is used to get the dst, offset, and the timezone name information. It does not accept any parameter. It returns an associative array containing dst, offset, and the timezone name on success and False on failure.

Syntax

   timezone_abbreviations_list()

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

Output: