IT. Expert System.

PHP

Returns associative array containing dst, offset and the timezone name


DateTimeZone::listAbbreviations

timezone_abbreviations_list

(PHP 5 >= 5.2.0)

DateTimeZone::listAbbreviations -- timezone_abbreviations_listReturns associative array containing dst, offset and the timezone name

Description

Object oriented style

public static array DateTimeZone::listAbbreviations ( void )

Procedural style

Return Values

Returns array on success or FALSE on failure.

Examples

Example #1 A timezone_abbreviations_list() example

<?php
$timezone_abbreviations 
DateTimeZone::listAbbreviations();
print_r($timezone_abbreviations["acst"]);
?>

The above example will output something similar to:

 Array (  [0] => Array   (    [dst] => 1    [offset] => -14400    [timezone_id] => America/Porto_Acre   )  [1] => Array   (    [dst] => 1    [offset] => -14400    [timezone_id] => America/Eirunepe   )  [2] => Array   (    [dst] => 1    [offset] => -14400    [timezone_id] => America/Rio_Branco   )  [3] => Array   (    [dst] => 1    [offset] => -14400    [timezone_id] => Brazil/Acre   ) ) 

See Also



Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1710 / . Delta: 0.02039 с