Posted By

iloveitaly on 06/05/09


Tagged

php list timezone gmt array offset


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

Vordreller
BrianCoyDesign
The14thGOD


PHP TimeZone Array


 / Published in: PHP
 

  1. global $timezoneTable;
  2. $timezoneTable = array(
  3. "-12" => "(GMT -12:00) Eniwetok, Kwajalein",
  4. "-11" => "(GMT -11:00) Midway Island, Samoa",
  5. "-10" => "(GMT -10:00) Hawaii",
  6. "-9" => "(GMT -9:00) Alaska",
  7. "-8" => "(GMT -8:00) Pacific Time (US & Canada)",
  8. "-7" => "(GMT -7:00) Mountain Time (US & Canada)",
  9. "-6" => "(GMT -6:00) Central Time (US & Canada), Mexico City",
  10. "-5" => "(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima",
  11. "-4" => "(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz",
  12. "-3.5" => "(GMT -3:30) Newfoundland",
  13. "-3" => "(GMT -3:00) Brazil, Buenos Aires, Georgetown",
  14. "-2" => "(GMT -2:00) Mid-Atlantic",
  15. "-1" => "(GMT -1:00 hour) Azores, Cape Verde Islands",
  16. "0" => "(GMT) Western Europe Time, London, Lisbon, Casablanca",
  17. "1" => "(GMT +1:00 hour) Brussels, Copenhagen, Madrid, Paris",
  18. "2" => "(GMT +2:00) Kaliningrad, South Africa",
  19. "3" => "(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg",
  20. "3.5" => "(GMT +3:30) Tehran",
  21. "4" => "(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi",
  22. "4.5" => "(GMT +4:30) Kabul",
  23. "5" => "(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent",
  24. "5.5" => "(GMT +5:30) Bombay, Calcutta, Madras, New Delhi",
  25. "6" => "(GMT +6:00) Almaty, Dhaka, Colombo",
  26. "7" => "(GMT +7:00) Bangkok, Hanoi, Jakarta",
  27. "8" => "(GMT +8:00) Beijing, Perth, Singapore, Hong Kong",
  28. "9" => "(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk",
  29. "9.5" => "(GMT +9:30) Adelaide, Darwin",
  30. "10" => "(GMT +10:00) Eastern Australia, Guam, Vladivostok",
  31. "11" => "(GMT +11:00) Magadan, Solomon Islands, New Caledonia",
  32. "12" => "(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"
  33. );

Report this snippet  

You need to login to post a comment.