Posted By

phersh on 11/25/08


Tagged

timezone timezones


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Scooter


PHP timezone abbreviations in array one timezone or all timezones


 / Published in: PHP
 

  1. $timezone_abbreviations = DateTimeZone::listAbbreviations();
  2.  
  3. // One timezone's details
  4. print_r($timezone_abbreviations["acst"]);
  5.  
  6. // List all timezones
  7. print_r($timezone_abbreviations);

Report this snippet  

You need to login to post a comment.