How PHP outputs a list of global time zones

Source: Internet
Author: User
Tags cairo time zones timezones

The implementation methods are as follows:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26-27--28 29---30 31--32 33 34 35 36 37 38-39 40 41 42 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 5, 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 11 9 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146-147 <?php $timezones = Array (' (gmt-12:00) International Date line West ' => ' Pacific/wake ', ' (gmt-11:00) Midway Island ' => ' Pacific/apia ', ' (gmt-11:00) Samoa ' => ' Pacific/apia ', ' (gmt-10:00) Hawaii ' => ' Pacific/honolulu ', ' (GMT-09 : Alaska ' => ' america/anchorage ', ' (gmt-08:00) Pacific time (US & Canada); Tijuana ' => ' america/los_angeles ', ' (gmt-07:00) Arizona ' => ' America/phoenix ', ' (gmt-07:00) Chihuahua ' => ' America/chihuahua ', ' (gmt-07:00) La Paz ' => ' America/chihuahua ', ' (gmt-07:00) Mazatlan ' => ' America/chihuahua ', ' ( gmt-07:00) Mountain Time (US & Canada) ' => ' america/denver ', ' (gmt-06:00) the ' America ', ' (gmt-06:00) (US & Canada) ' => ' America/chicago ', ' (gmt-06:00) Guadalajara ' => ' america/mexico_cit Y ', ' (gmt-06:00) Mexico City ' => ' america/mexico_city ', ' (gmt-06:00) Monterrey ' => ' america/mexico_city ', ' (GMT-06 : Saskatchewan ' => ' America/regina ', ' (gmt-05:00) Bogota ' => ' AMerica/bogota ', ' (gmt-05:00) Eastern Time (US & Canada) ' => ' america/new_york ', ' (gmt-05:00) Indiana (east) ' => ' America/indiana/indianapolis ', ' (gmt-05:00) Lima ' => ' America/bogota ', ' (gmt-05:00) Quito ' => ' ' America/bogota ', ' (gmt-04:00) Atlantic Time (Canada) ' => ' America/halifax ', ' (gmt-04:00) Caracas ' => ', ' America/caracas ', ' (gmt-04:00 La Paz ' => ' America/caracas ', ' (gmt-04:00) Santiago ' => ' America/santiago ', ' (gmt-03:30) Newfoundland ' => ' Amer Ica/st_johns ', ' (gmt-03:00) Brasilia ' => ' America/sao_paulo ', ' (gmt-03:00) Buenos Aires ' => ' America/Argentina/ Buenos_aires ', ' (gmt-03:00) Georgetown ' => ' america/argentina/buenos_aires ', ' (gmt-03:00) Greenland ' => ' America /godthab ', ' (gmt-02:00) Mid-Atlantic ' => ' America/noronha ', ' (gmt-01:00) Azores ' => ', ' atlantic/azores ', ' (GMT-01:0 0) Cape Verde is. ' => ' Atlantic/cape_verde ', ' (GMT) Casablanca ' => ' Africa/casablanca ', ' (GMT) Edinburgh ' => ' Eur Ope/london ', ' (GMT) Greenwich Mean time: Dublin ' => ' Europe/london ', ' (GMT) Lisbon ' => ' Europe/london ', ' (GMT) London ' => ' Europe/london ', ' (GMT) monrovi A ' => ' Africa/casablanca ', ' (gmt+01:00) Amsterdam ' => ' Europe/berlin ', ' (gmt+01:00) Belgrade ' => ' europe/ Belgrade ', ' (gmt+01:00) Berlin ' => ' Europe/berlin ', ' (gmt+01:00) Bern ' => ', ' Europe/berlin ', ' (gmt+01:00) Bratislava ' => ' Europe/belgrade ', ' (gmt+01:00) Brussels ' => ' Europe/paris ', ' (gmt+01:00) Budapest ' => ' europe/ Belgrade ', ' (gmt+01:00) Copenhagen ' => ' Europe/paris ', ' (gmt+01:00) Ljubljana ' => ', ' Europe/belgrade ', ' (GMT+01:00) Madrid ' => ' Europe/paris ', ' (gmt+01:00) Paris ' => ' Europe/paris ', ' (gmt+01:00) Prague ' => ' Europe/belgrade ', ' (G mt+01:00) Rome ' => ' Europe/berlin ', ' (gmt+01:00) Sarajevo ' => ', ' Europe/sarajevo ', ' (gmt+01:00) Skopje ' => ' Europe /sarajevo ', ' (gmt+01:00) Stockholm ' => ' Europe/berlin ', ' (gmt+01:00) Vienna ' => ', ' Europe/berlin ', ' (gmt+01:00) Warsaw ' => ' Europe/sarajevo ', ' (gmt+01:00) West CentraL Africa ' => ' Africa/lagos, ' (gmt+01:00) Zagreb ' => ' Europe/sarajevo ', ' (gmt+02:00) Athens ' => ' Europe/istanbul ', ' (gmt+02:00) Bucharest ' => ' europe/bucharest ', ' (gmt+02:00) Cairo ' => ' Africa/cairo ', ' (gmt+02:00) Harare ' => ' Africa/johannesburg ', ' (gmt+02:00) Helsinki ' => ' Europe/helsinki ', ' (gmt+02:00) Istanbul ' => ' ' Europe/istanbul ', ' (gmt+02:00) Jerusalem ' => ' Asia/jerusalem ', ' (gmt+02:00) Kyiv ' => ' Europe/helsinki ', ' (gmt+02:00) Minsk ' => ' Eu Rope/istanbul ', ' (gmt+02:00) Pretoria ' => ' Africa/johannesburg ', ' (gmt+02:00) Riga ' => ', ' Europe/helsinki ', ' (GMT+ 02:00) Sofia ' => ' Europe/helsinki ', ' (gmt+02:00) Tallinn ' => ', ' Europe/helsinki ', ' (gmt+02:00) Vilnius ' => ' Europe /helsinki ', ' (gmt+03:00) Baghdad ' => ' Asia/baghdad ', ' (gmt+03:00) Kuwait ' => ' ' asia/riyadh ', ' (gmt+03:00) Moscow ' =& ' Gt ' Europe/moscow ', ' (gmt+03:00) Nairobi ' => ' Africa/nairobi ', ' (gmt+03:00) Riyadh ' => ', ' asia/riyadh ', ' (gmt+03:00) St. Petersburg ' => ' Europe/moscoW ', ' (gmt+03:00) Volgograd ' => ' Europe/moscow ', ' (gmt+03:30) Tehran ' => ', ' Asia/tehran ', ' (gmt+04:00) Abu Dhabi ' => ' Asia/muscat ', ' (gmt+04:00) Baku ' => ' Asia/tbilisi ', ' (gmt+04:00) Muscat ' => ' asia/muscat ', ' (gmt+04:00) Tbilisi ' = > ' Asia/tbilisi ', ' (gmt+04:00) Yerevan ' => ' Asia/tbilisi ', ' (gmt+04:30) Kabul ' => ', ' Asia/kabul ', ' (gmt+05:00) Eka Terinburg ' => ' Asia/yekaterinburg ', ' (gmt+05:00) Islamabad ' => ' Asia/karachi ', ' (gmt+05:00) Karachi ' => ' Asia/ Karachi ', ' (gmt+05:00) Tashkent ' => ' Asia/karachi ', ' (gmt+05:30) Chennai ' => ', ' Asia/calcutta ', ' (gmt+05:30) Kolkata ' => ' Asia/calcutta ', ' (gmt+05:30) Mumbai ' => ' Asia/calcutta ', ' (gmt+05:30) New Delhi ' => ' Asia/calcutta ' , ' (gmt+05:45) Kathmandu ' => ' Asia/katmandu ', ' gmt+06:00 ' Almaty ' => ' Asia/novosibirsk ', ' (gmt+06:00) Astana ' =&gt ; ' Asia/dhaka ', ' (gmt+06:00) Dhaka ' => ' Asia/dhaka ', ' (gmt+06:00) Novosibirsk ' => ', ' Asia/novosibirsk ', ' (GMT+06:00) Sri Jayawardenepura ' => ' Asia/colombo', ' (gmt+06:30) Rangoon ' => ' Asia/rangoon ', ' (gmt+07:00) Bangkok ' => ' Asia/bangkok ', ' (gmt+07:00) Hanoi ' => ' Asia /bangkok ', ' (gmt+07:00) Jakarta ' => ' Asia/bangkok ', ' (gmt+07:00) Krasnoyarsk ' => ', ' Asia/krasnoyarsk ', ' (GMT+08:00) Beijing ' => ' Asia/hong_kong ', ' (gmt+08:00) Chongqing ' => ' Asia/hong_kong ', ' (gmt+08:00), Kong ' => ' Asia/hong _kong ', ' (gmt+08:00) Irkutsk ' => ' Asia/irkutsk ', ' (gmt+08:00) Kuala Lumpur ' => ' Asia/singapore ', ' (GMT+08:00) Perth ' => ' Australia/perth ', ' (gmt+08:00) Singapore ' => ' Asia/singapore ', ' (gmt+08:00) Taipei ' => ' Asia/taipei ', ' (GM t+08:00) Ulaan bataar ' => ' Asia/irkutsk ', ' (gmt+08:00) Urumqi ' => ' Asia/hong_kong ', ' (gmt+09:00) Osaka ' => ' Asia/ Tokyo ', ' (gmt+09:00) Sapporo ' => ' Asia/tokyo ', ' (gmt+09:00) Seoul ' => ', ' Asia/seoul ', ' (gmt+09:00) Tokyo ' => ' asia/ Tokyo ', ' (gmt+09:00) Yakutsk ' => ' Asia/yakutsk ', ' (gmt+09:30) Adelaide ' => ', ' australia/adelaide ', ' (gmt+09:30) Darwin ' => ' australia/darwin ', '(gmt+10:00) Brisbane ' => ' Australia/brisbane ', ' (gmt+10:00) Canberra ' => ' Australia/sydney ', ' (gmt+10:00) Guam ' => ' Pacific /guam ', ' (gmt+10:00) Hobart ' => ' Australia/hobart ', ' (gmt+10:00) Melbourne ' => ', ' Australia/sydney ', ' (gmt+10:00) Port Moresby ' => ' pacific/guam ', ' (gmt+10:00) Sydney ' => ' Australia/sydney ', ' (gmt+10:00) Vladivostok ' => ' asia/ Vladivostok ', ' (gmt+11:00) Magadan ' => ' Asia/magadan ', ' (gmt+11:00) New Caledonia ' => ' Asia/magadan ', ' (GMT+11:00) Solomon is. ' => ' Asia/magadan ', ' (gmt+12:00) Auckland ' => ' Pacific/auckland ', ' (gmt+12:00) Fiji ' => ' Pacific/fij I ', ' (gmt+12:00) Kamchatka ' => ' Pacific/fiji ', ' (gmt+12:00) Marshall is. ' => ' Pacific/fiji ', ' (gmt+12:00) wellingto N ' => ' Pacific/auckland ', ' (gmt+13:00) Nuku ' Alofa ' => ' Pacific/tongatapu ',); Print_r ($timezones);?>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.