PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

timezone_identifiers_list> <time
Last updated: Fri, 05 Sep 2008

view this page in

timezone_abbreviations_list

(PHP 5 >= 5.1.0)

timezone_abbreviations_listRetourne un tableau associatif contenant l'heure avancée, décalage et le nom du fuseau horaire

Description

array timezone_abbreviations_list ( void )
array DateTimeZone::listAbbreviations ( void )

Valeurs de retour

Retourne un tableau en cas de succès ou FALSE en cas d'échec.

Exemples

Exemple #1 Exemple avec timezone_abbreviations_list()

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

L'exemple ci-dessus va afficher quelque chose de similaire à :

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
        )

)



add a note add a note User Contributed Notes
timezone_abbreviations_list
drizzt321 at gmail dot com
20-Aug-2008 06:54
If anyone is confused about the US/Pacific-New that appears in the list, apparently it has something to do with a bill that was that was passed by the House in 1989, but never signed into law. It has to do with delaying the switchover until after the election. Read more about it at http://catless.ncl.ac.uk/Risks/13.87.html and it should be the first posting. Or just do a search for US/Pacific-New.

timezone_identifiers_list> <time
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites