CakePHP Timezone Select View helper


/ Published in: PHP
Save to your folder(s)

Save the source provided to /app/view/helpers/timezone_select.php

To use the below helper, just put this code into your view:

echo $timezoneSelect->select('timezone', 'Please select your timezone', 'Europe/London');

Also, don't forget to include the helper in your CakePHP controller's action:

$this->helpers[] = 'TimezoneSelect';

Et voila! ;-)


Copy this code and paste it in your HTML
  1. <?php
  2. class TimezoneSelectHelper extends FormHelper
  3. {
  4.  
  5. var $helpers = array('Form');
  6.  
  7. function select($fieldname, $label, $default="Europe/London", $attributes=false)
  8. {
  9. $list = '<div class="input">';
  10. $list .= $this->Form->label($label);
  11. $list .= $this->Form->select($fieldname , array(
  12. 'America/Adak' => '(GMT-10:00) America/Adak (Hawaii-Aleutian Standard Time)',
  13. 'America/Atka' => '(GMT-10:00) America/Atka (Hawaii-Aleutian Standard Time)',
  14. 'America/Anchorage' => '(GMT-9:00) America/Anchorage (Alaska Standard Time)',
  15. 'America/Juneau' => '(GMT-9:00) America/Juneau (Alaska Standard Time)',
  16. 'America/Nome' => '(GMT-9:00) America/Nome (Alaska Standard Time)',
  17. 'America/Yakutat' => '(GMT-9:00) America/Yakutat (Alaska Standard Time)',
  18. 'America/Dawson' => '(GMT-8:00) America/Dawson (Pacific Standard Time)',
  19. 'America/Ensenada' => '(GMT-8:00) America/Ensenada (Pacific Standard Time)',
  20. 'America/Los_Angeles' => '(GMT-8:00) America/Los_Angeles (Pacific Standard Time)',
  21. 'America/Tijuana' => '(GMT-8:00) America/Tijuana (Pacific Standard Time)',
  22. 'America/Vancouver' => '(GMT-8:00) America/Vancouver (Pacific Standard Time)',
  23. 'America/Whitehorse' => '(GMT-8:00) America/Whitehorse (Pacific Standard Time)',
  24. 'Canada/Pacific' => '(GMT-8:00) Canada/Pacific (Pacific Standard Time)',
  25. 'Canada/Yukon' => '(GMT-8:00) Canada/Yukon (Pacific Standard Time)',
  26. 'Mexico/BajaNorte' => '(GMT-8:00) Mexico/BajaNorte (Pacific Standard Time)',
  27. 'America/Boise' => '(GMT-7:00) America/Boise (Mountain Standard Time)',
  28. 'America/Cambridge_Bay' => '(GMT-7:00) America/Cambridge_Bay (Mountain Standard Time)',
  29. 'America/Chihuahua' => '(GMT-7:00) America/Chihuahua (Mountain Standard Time)',
  30. 'America/Dawson_Creek' => '(GMT-7:00) America/Dawson_Creek (Mountain Standard Time)',
  31. 'America/Denver' => '(GMT-7:00) America/Denver (Mountain Standard Time)',
  32. 'America/Edmonton' => '(GMT-7:00) America/Edmonton (Mountain Standard Time)',
  33. 'America/Hermosillo' => '(GMT-7:00) America/Hermosillo (Mountain Standard Time)',
  34. 'America/Inuvik' => '(GMT-7:00) America/Inuvik (Mountain Standard Time)',
  35. 'America/Mazatlan' => '(GMT-7:00) America/Mazatlan (Mountain Standard Time)',
  36. 'America/Phoenix' => '(GMT-7:00) America/Phoenix (Mountain Standard Time)',
  37. 'America/Shiprock' => '(GMT-7:00) America/Shiprock (Mountain Standard Time)',
  38. 'America/Yellowknife' => '(GMT-7:00) America/Yellowknife (Mountain Standard Time)',
  39. 'Canada/Mountain' => '(GMT-7:00) Canada/Mountain (Mountain Standard Time)',
  40. 'Mexico/BajaSur' => '(GMT-7:00) Mexico/BajaSur (Mountain Standard Time)',
  41. 'America/Belize' => '(GMT-6:00) America/Belize (Central Standard Time)',
  42. 'America/Cancun' => '(GMT-6:00) America/Cancun (Central Standard Time)',
  43. 'America/Chicago' => '(GMT-6:00) America/Chicago (Central Standard Time)',
  44. 'America/Costa_Rica' => '(GMT-6:00) America/Costa_Rica (Central Standard Time)',
  45. 'America/El_Salvador' => '(GMT-6:00) America/El_Salvador (Central Standard Time)',
  46. 'America/Guatemala' => '(GMT-6:00) America/Guatemala (Central Standard Time)',
  47. 'America/Knox_IN' => '(GMT-6:00) America/Knox_IN (Central Standard Time)',
  48. 'America/Managua' => '(GMT-6:00) America/Managua (Central Standard Time)',
  49. 'America/Menominee' => '(GMT-6:00) America/Menominee (Central Standard Time)',
  50. 'America/Merida' => '(GMT-6:00) America/Merida (Central Standard Time)',
  51. 'America/Mexico_City' => '(GMT-6:00) America/Mexico_City (Central Standard Time)',
  52. 'America/Monterrey' => '(GMT-6:00) America/Monterrey (Central Standard Time)',
  53. 'America/Rainy_River' => '(GMT-6:00) America/Rainy_River (Central Standard Time)',
  54. 'America/Rankin_Inlet' => '(GMT-6:00) America/Rankin_Inlet (Central Standard Time)',
  55. 'America/Regina' => '(GMT-6:00) America/Regina (Central Standard Time)',
  56. 'America/Swift_Current' => '(GMT-6:00) America/Swift_Current (Central Standard Time)',
  57. 'America/Tegucigalpa' => '(GMT-6:00) America/Tegucigalpa (Central Standard Time)',
  58. 'America/Winnipeg' => '(GMT-6:00) America/Winnipeg (Central Standard Time)',
  59. 'Canada/Central' => '(GMT-6:00) Canada/Central (Central Standard Time)',
  60. 'Canada/East-Saskatchewan' => '(GMT-6:00) Canada/East-Saskatchewan (Central Standard Time)',
  61. 'Canada/Saskatchewan' => '(GMT-6:00) Canada/Saskatchewan (Central Standard Time)',
  62. 'Chile/EasterIsland' => '(GMT-6:00) Chile/EasterIsland (Easter Is. Time)',
  63. 'Mexico/General' => '(GMT-6:00) Mexico/General (Central Standard Time)',
  64. 'America/Atikokan' => '(GMT-5:00) America/Atikokan (Eastern Standard Time)',
  65. 'America/Bogota' => '(GMT-5:00) America/Bogota (Colombia Time)',
  66. 'America/Cayman' => '(GMT-5:00) America/Cayman (Eastern Standard Time)',
  67. 'America/Coral_Harbour' => '(GMT-5:00) America/Coral_Harbour (Eastern Standard Time)',
  68. 'America/Detroit' => '(GMT-5:00) America/Detroit (Eastern Standard Time)',
  69. 'America/Fort_Wayne' => '(GMT-5:00) America/Fort_Wayne (Eastern Standard Time)',
  70. 'America/Grand_Turk' => '(GMT-5:00) America/Grand_Turk (Eastern Standard Time)',
  71. 'America/Guayaquil' => '(GMT-5:00) America/Guayaquil (Ecuador Time)',
  72. 'America/Havana' => '(GMT-5:00) America/Havana (Cuba Standard Time)',
  73. 'America/Indianapolis' => '(GMT-5:00) America/Indianapolis (Eastern Standard Time)',
  74. 'America/Iqaluit' => '(GMT-5:00) America/Iqaluit (Eastern Standard Time)',
  75. 'America/Jamaica' => '(GMT-5:00) America/Jamaica (Eastern Standard Time)',
  76. 'America/Lima' => '(GMT-5:00) America/Lima (Peru Time)',
  77. 'America/Louisville' => '(GMT-5:00) America/Louisville (Eastern Standard Time)',
  78. 'America/Montreal' => '(GMT-5:00) America/Montreal (Eastern Standard Time)',
  79. 'America/Nassau' => '(GMT-5:00) America/Nassau (Eastern Standard Time)',
  80. 'America/New_York' => '(GMT-5:00) America/New_York (Eastern Standard Time)',
  81. 'America/Nipigon' => '(GMT-5:00) America/Nipigon (Eastern Standard Time)',
  82. 'America/Panama' => '(GMT-5:00) America/Panama (Eastern Standard Time)',
  83. 'America/Pangnirtung' => '(GMT-5:00) America/Pangnirtung (Eastern Standard Time)',
  84. 'America/Port-au-Prince' => '(GMT-5:00) America/Port-au-Prince (Eastern Standard Time)',
  85. 'America/Resolute' => '(GMT-5:00) America/Resolute (Eastern Standard Time)',
  86. 'America/Thunder_Bay' => '(GMT-5:00) America/Thunder_Bay (Eastern Standard Time)',
  87. 'America/Toronto' => '(GMT-5:00) America/Toronto (Eastern Standard Time)',
  88. 'Canada/Eastern' => '(GMT-5:00) Canada/Eastern (Eastern Standard Time)',
  89. 'America/Caracas' => '(GMT-4:-30) America/Caracas (Venezuela Time)',
  90. 'America/Anguilla' => '(GMT-4:00) America/Anguilla (Atlantic Standard Time)',
  91. 'America/Antigua' => '(GMT-4:00) America/Antigua (Atlantic Standard Time)',
  92. 'America/Aruba' => '(GMT-4:00) America/Aruba (Atlantic Standard Time)',
  93. 'America/Asuncion' => '(GMT-4:00) America/Asuncion (Paraguay Time)',
  94. 'America/Barbados' => '(GMT-4:00) America/Barbados (Atlantic Standard Time)',
  95. 'America/Blanc-Sablon' => '(GMT-4:00) America/Blanc-Sablon (Atlantic Standard Time)',
  96. 'America/Boa_Vista' => '(GMT-4:00) America/Boa_Vista (Amazon Time)',
  97. 'America/Campo_Grande' => '(GMT-4:00) America/Campo_Grande (Amazon Time)',
  98. 'America/Cuiaba' => '(GMT-4:00) America/Cuiaba (Amazon Time)',
  99. 'America/Curacao' => '(GMT-4:00) America/Curacao (Atlantic Standard Time)',
  100. 'America/Dominica' => '(GMT-4:00) America/Dominica (Atlantic Standard Time)',
  101. 'America/Eirunepe' => '(GMT-4:00) America/Eirunepe (Amazon Time)',
  102. 'America/Glace_Bay' => '(GMT-4:00) America/Glace_Bay (Atlantic Standard Time)',
  103. 'America/Goose_Bay' => '(GMT-4:00) America/Goose_Bay (Atlantic Standard Time)',
  104. 'America/Grenada' => '(GMT-4:00) America/Grenada (Atlantic Standard Time)',
  105. 'America/Guadeloupe' => '(GMT-4:00) America/Guadeloupe (Atlantic Standard Time)',
  106. 'America/Guyana' => '(GMT-4:00) America/Guyana (Guyana Time)',
  107. 'America/Halifax' => '(GMT-4:00) America/Halifax (Atlantic Standard Time)',
  108. 'America/La_Paz' => '(GMT-4:00) America/La_Paz (Bolivia Time)',
  109. 'America/Manaus' => '(GMT-4:00) America/Manaus (Amazon Time)',
  110. 'America/Marigot' => '(GMT-4:00) America/Marigot (Atlantic Standard Time)',
  111. 'America/Martinique' => '(GMT-4:00) America/Martinique (Atlantic Standard Time)',
  112. 'America/Moncton' => '(GMT-4:00) America/Moncton (Atlantic Standard Time)',
  113. 'America/Montserrat' => '(GMT-4:00) America/Montserrat (Atlantic Standard Time)',
  114. 'America/Port_of_Spain' => '(GMT-4:00) America/Port_of_Spain (Atlantic Standard Time)',
  115. 'America/Porto_Acre' => '(GMT-4:00) America/Porto_Acre (Amazon Time)',
  116. 'America/Porto_Velho' => '(GMT-4:00) America/Porto_Velho (Amazon Time)',
  117. 'America/Puerto_Rico' => '(GMT-4:00) America/Puerto_Rico (Atlantic Standard Time)',
  118. 'America/Rio_Branco' => '(GMT-4:00) America/Rio_Branco (Amazon Time)',
  119. 'America/Santiago' => '(GMT-4:00) America/Santiago (Chile Time)',
  120. 'America/Santo_Domingo' => '(GMT-4:00) America/Santo_Domingo (Atlantic Standard Time)',
  121. 'America/St_Barthelemy' => '(GMT-4:00) America/St_Barthelemy (Atlantic Standard Time)',
  122. 'America/St_Kitts' => '(GMT-4:00) America/St_Kitts (Atlantic Standard Time)',
  123. 'America/St_Lucia' => '(GMT-4:00) America/St_Lucia (Atlantic Standard Time)',
  124. 'America/St_Thomas' => '(GMT-4:00) America/St_Thomas (Atlantic Standard Time)',
  125. 'America/St_Vincent' => '(GMT-4:00) America/St_Vincent (Atlantic Standard Time)',
  126. 'America/Thule' => '(GMT-4:00) America/Thule (Atlantic Standard Time)',
  127. 'America/Tortola' => '(GMT-4:00) America/Tortola (Atlantic Standard Time)',
  128. 'America/Virgin' => '(GMT-4:00) America/Virgin (Atlantic Standard Time)',
  129. 'Antarctica/Palmer' => '(GMT-4:00) Antarctica/Palmer (Chile Time)',
  130. 'Atlantic/Bermuda' => '(GMT-4:00) Atlantic/Bermuda (Atlantic Standard Time)',
  131. 'Atlantic/Stanley' => '(GMT-4:00) Atlantic/Stanley (Falkland Is. Time)',
  132. 'Brazil/Acre' => '(GMT-4:00) Brazil/Acre (Amazon Time)',
  133. 'Brazil/West' => '(GMT-4:00) Brazil/West (Amazon Time)',
  134. 'Canada/Atlantic' => '(GMT-4:00) Canada/Atlantic (Atlantic Standard Time)',
  135. 'Chile/Continental' => '(GMT-4:00) Chile/Continental (Chile Time)',
  136. 'America/St_Johns' => '(GMT-3:-30) America/St_Johns (Newfoundland Standard Time)',
  137. 'Canada/Newfoundland' => '(GMT-3:-30) Canada/Newfoundland (Newfoundland Standard Time)',
  138. 'America/Araguaina' => '(GMT-3:00) America/Araguaina (Brasilia Time)',
  139. 'America/Bahia' => '(GMT-3:00) America/Bahia (Brasilia Time)',
  140. 'America/Belem' => '(GMT-3:00) America/Belem (Brasilia Time)',
  141. 'America/Buenos_Aires' => '(GMT-3:00) America/Buenos_Aires (Argentine Time)',
  142. 'America/Catamarca' => '(GMT-3:00) America/Catamarca (Argentine Time)',
  143. 'America/Cayenne' => '(GMT-3:00) America/Cayenne (French Guiana Time)',
  144. 'America/Cordoba' => '(GMT-3:00) America/Cordoba (Argentine Time)',
  145. 'America/Fortaleza' => '(GMT-3:00) America/Fortaleza (Brasilia Time)',
  146. 'America/Godthab' => '(GMT-3:00) America/Godthab (Western Greenland Time)',
  147. 'America/Jujuy' => '(GMT-3:00) America/Jujuy (Argentine Time)',
  148. 'America/Maceio' => '(GMT-3:00) America/Maceio (Brasilia Time)',
  149. 'America/Mendoza' => '(GMT-3:00) America/Mendoza (Argentine Time)',
  150. 'America/Miquelon' => '(GMT-3:00) America/Miquelon (Pierre & Miquelon Standard Time)',
  151. 'America/Montevideo' => '(GMT-3:00) America/Montevideo (Uruguay Time)',
  152. 'America/Paramaribo' => '(GMT-3:00) America/Paramaribo (Suriname Time)',
  153. 'America/Recife' => '(GMT-3:00) America/Recife (Brasilia Time)',
  154. 'America/Rosario' => '(GMT-3:00) America/Rosario (Argentine Time)',
  155. 'America/Santarem' => '(GMT-3:00) America/Santarem (Brasilia Time)',
  156. 'America/Sao_Paulo' => '(GMT-3:00) America/Sao_Paulo (Brasilia Time)',
  157. 'Antarctica/Rothera' => '(GMT-3:00) Antarctica/Rothera (Rothera Time)',
  158. 'Brazil/East' => '(GMT-3:00) Brazil/East (Brasilia Time)',
  159. 'America/Noronha' => '(GMT-2:00) America/Noronha (Fernando de Noronha Time)',
  160. 'Atlantic/South_Georgia' => '(GMT-2:00) Atlantic/South_Georgia (South Georgia Standard Time)',
  161. 'Brazil/DeNoronha' => '(GMT-2:00) Brazil/DeNoronha (Fernando de Noronha Time)',
  162. 'America/Scoresbysund' => '(GMT-1:00) America/Scoresbysund (Eastern Greenland Time)',
  163. 'Atlantic/Azores' => '(GMT-1:00) Atlantic/Azores (Azores Time)',
  164. 'Atlantic/Cape_Verde' => '(GMT-1:00) Atlantic/Cape_Verde (Cape Verde Time)',
  165. 'Africa/Abidjan' => '(GMT+0:00) Africa/Abidjan (Greenwich Mean Time)',
  166. 'Africa/Accra' => '(GMT+0:00) Africa/Accra (Ghana Mean Time)',
  167. 'Africa/Bamako' => '(GMT+0:00) Africa/Bamako (Greenwich Mean Time)',
  168. 'Africa/Banjul' => '(GMT+0:00) Africa/Banjul (Greenwich Mean Time)',
  169. 'Africa/Bissau' => '(GMT+0:00) Africa/Bissau (Greenwich Mean Time)',
  170. 'Africa/Casablanca' => '(GMT+0:00) Africa/Casablanca (Western European Time)',
  171. 'Africa/Conakry' => '(GMT+0:00) Africa/Conakry (Greenwich Mean Time)',
  172. 'Africa/Dakar' => '(GMT+0:00) Africa/Dakar (Greenwich Mean Time)',
  173. 'Africa/El_Aaiun' => '(GMT+0:00) Africa/El_Aaiun (Western European Time)',
  174. 'Africa/Freetown' => '(GMT+0:00) Africa/Freetown (Greenwich Mean Time)',
  175. 'Africa/Lome' => '(GMT+0:00) Africa/Lome (Greenwich Mean Time)',
  176. 'Africa/Monrovia' => '(GMT+0:00) Africa/Monrovia (Greenwich Mean Time)',
  177. 'Africa/Nouakchott' => '(GMT+0:00) Africa/Nouakchott (Greenwich Mean Time)',
  178. 'Africa/Ouagadougou' => '(GMT+0:00) Africa/Ouagadougou (Greenwich Mean Time)',
  179. 'Africa/Sao_Tome' => '(GMT+0:00) Africa/Sao_Tome (Greenwich Mean Time)',
  180. 'Africa/Timbuktu' => '(GMT+0:00) Africa/Timbuktu (Greenwich Mean Time)',
  181. 'America/Danmarkshavn' => '(GMT+0:00) America/Danmarkshavn (Greenwich Mean Time)',
  182. 'Atlantic/Canary' => '(GMT+0:00) Atlantic/Canary (Western European Time)',
  183. 'Atlantic/Faeroe' => '(GMT+0:00) Atlantic/Faeroe (Western European Time)',
  184. 'Atlantic/Faroe' => '(GMT+0:00) Atlantic/Faroe (Western European Time)',
  185. 'Atlantic/Madeira' => '(GMT+0:00) Atlantic/Madeira (Western European Time)',
  186. 'Atlantic/Reykjavik' => '(GMT+0:00) Atlantic/Reykjavik (Greenwich Mean Time)',
  187. 'Atlantic/St_Helena' => '(GMT+0:00) Atlantic/St_Helena (Greenwich Mean Time)',
  188. 'Europe/Belfast' => '(GMT+0:00) Europe/Belfast (Greenwich Mean Time)',
  189. 'Europe/Dublin' => '(GMT+0:00) Europe/Dublin (Greenwich Mean Time)',
  190. 'Europe/Guernsey' => '(GMT+0:00) Europe/Guernsey (Greenwich Mean Time)',
  191. 'Europe/Isle_of_Man' => '(GMT+0:00) Europe/Isle_of_Man (Greenwich Mean Time)',
  192. 'Europe/Jersey' => '(GMT+0:00) Europe/Jersey (Greenwich Mean Time)',
  193. 'Europe/Lisbon' => '(GMT+0:00) Europe/Lisbon (Western European Time)',
  194. 'Europe/London' => '(GMT+0:00) Europe/London (Greenwich Mean Time)',
  195. 'Africa/Algiers' => '(GMT+1:00) Africa/Algiers (Central European Time)',
  196. 'Africa/Bangui' => '(GMT+1:00) Africa/Bangui (Western African Time)',
  197. 'Africa/Brazzaville' => '(GMT+1:00) Africa/Brazzaville (Western African Time)',
  198. 'Africa/Ceuta' => '(GMT+1:00) Africa/Ceuta (Central European Time)',
  199. 'Africa/Douala' => '(GMT+1:00) Africa/Douala (Western African Time)',
  200. 'Africa/Kinshasa' => '(GMT+1:00) Africa/Kinshasa (Western African Time)',
  201. 'Africa/Lagos' => '(GMT+1:00) Africa/Lagos (Western African Time)',
  202. 'Africa/Libreville' => '(GMT+1:00) Africa/Libreville (Western African Time)',
  203. 'Africa/Luanda' => '(GMT+1:00) Africa/Luanda (Western African Time)',
  204. 'Africa/Malabo' => '(GMT+1:00) Africa/Malabo (Western African Time)',
  205. 'Africa/Ndjamena' => '(GMT+1:00) Africa/Ndjamena (Western African Time)',
  206. 'Africa/Niamey' => '(GMT+1:00) Africa/Niamey (Western African Time)',
  207. 'Africa/Porto-Novo' => '(GMT+1:00) Africa/Porto-Novo (Western African Time)',
  208. 'Africa/Tunis' => '(GMT+1:00) Africa/Tunis (Central European Time)',
  209. 'Africa/Windhoek' => '(GMT+1:00) Africa/Windhoek (Western African Time)',
  210. 'Arctic/Longyearbyen' => '(GMT+1:00) Arctic/Longyearbyen (Central European Time)',
  211. 'Atlantic/Jan_Mayen' => '(GMT+1:00) Atlantic/Jan_Mayen (Central European Time)',
  212. 'Europe/Amsterdam' => '(GMT+1:00) Europe/Amsterdam (Central European Time)',
  213. 'Europe/Andorra' => '(GMT+1:00) Europe/Andorra (Central European Time)',
  214. 'Europe/Belgrade' => '(GMT+1:00) Europe/Belgrade (Central European Time)',
  215. 'Europe/Berlin' => '(GMT+1:00) Europe/Berlin (Central European Time)',
  216. 'Europe/Bratislava' => '(GMT+1:00) Europe/Bratislava (Central European Time)',
  217. 'Europe/Brussels' => '(GMT+1:00) Europe/Brussels (Central European Time)',
  218. 'Europe/Budapest' => '(GMT+1:00) Europe/Budapest (Central European Time)',
  219. 'Europe/Copenhagen' => '(GMT+1:00) Europe/Copenhagen (Central European Time)',
  220. 'Europe/Gibraltar' => '(GMT+1:00) Europe/Gibraltar (Central European Time)',
  221. 'Europe/Ljubljana' => '(GMT+1:00) Europe/Ljubljana (Central European Time)',
  222. 'Europe/Luxembourg' => '(GMT+1:00) Europe/Luxembourg (Central European Time)',
  223. 'Europe/Madrid' => '(GMT+1:00) Europe/Madrid (Central European Time)',
  224. 'Europe/Malta' => '(GMT+1:00) Europe/Malta (Central European Time)',
  225. 'Europe/Monaco' => '(GMT+1:00) Europe/Monaco (Central European Time)',
  226. 'Europe/Oslo' => '(GMT+1:00) Europe/Oslo (Central European Time)',
  227. 'Europe/Paris' => '(GMT+1:00) Europe/Paris (Central European Time)',
  228. 'Europe/Podgorica' => '(GMT+1:00) Europe/Podgorica (Central European Time)',
  229. 'Europe/Prague' => '(GMT+1:00) Europe/Prague (Central European Time)',
  230. 'Europe/Rome' => '(GMT+1:00) Europe/Rome (Central European Time)',
  231. 'Europe/San_Marino' => '(GMT+1:00) Europe/San_Marino (Central European Time)',
  232. 'Europe/Sarajevo' => '(GMT+1:00) Europe/Sarajevo (Central European Time)',
  233. 'Europe/Skopje' => '(GMT+1:00) Europe/Skopje (Central European Time)',
  234. 'Europe/Stockholm' => '(GMT+1:00) Europe/Stockholm (Central European Time)',
  235. 'Europe/Tirane' => '(GMT+1:00) Europe/Tirane (Central European Time)',
  236. 'Europe/Vaduz' => '(GMT+1:00) Europe/Vaduz (Central European Time)',
  237. 'Europe/Vatican' => '(GMT+1:00) Europe/Vatican (Central European Time)',
  238. 'Europe/Vienna' => '(GMT+1:00) Europe/Vienna (Central European Time)',
  239. 'Europe/Warsaw' => '(GMT+1:00) Europe/Warsaw (Central European Time)',
  240. 'Europe/Zagreb' => '(GMT+1:00) Europe/Zagreb (Central European Time)',
  241. 'Europe/Zurich' => '(GMT+1:00) Europe/Zurich (Central European Time)',
  242. 'Africa/Blantyre' => '(GMT+2:00) Africa/Blantyre (Central African Time)',
  243. 'Africa/Bujumbura' => '(GMT+2:00) Africa/Bujumbura (Central African Time)',
  244. 'Africa/Cairo' => '(GMT+2:00) Africa/Cairo (Eastern European Time)',
  245. 'Africa/Gaborone' => '(GMT+2:00) Africa/Gaborone (Central African Time)',
  246. 'Africa/Harare' => '(GMT+2:00) Africa/Harare (Central African Time)',
  247. 'Africa/Johannesburg' => '(GMT+2:00) Africa/Johannesburg (South Africa Standard Time)',
  248. 'Africa/Kigali' => '(GMT+2:00) Africa/Kigali (Central African Time)',
  249. 'Africa/Lubumbashi' => '(GMT+2:00) Africa/Lubumbashi (Central African Time)',
  250. 'Africa/Lusaka' => '(GMT+2:00) Africa/Lusaka (Central African Time)',
  251. 'Africa/Maputo' => '(GMT+2:00) Africa/Maputo (Central African Time)',
  252. 'Africa/Maseru' => '(GMT+2:00) Africa/Maseru (South Africa Standard Time)',
  253. 'Africa/Mbabane' => '(GMT+2:00) Africa/Mbabane (South Africa Standard Time)',
  254. 'Africa/Tripoli' => '(GMT+2:00) Africa/Tripoli (Eastern European Time)',
  255. 'Asia/Amman' => '(GMT+2:00) Asia/Amman (Eastern European Time)',
  256. 'Asia/Beirut' => '(GMT+2:00) Asia/Beirut (Eastern European Time)',
  257. 'Asia/Damascus' => '(GMT+2:00) Asia/Damascus (Eastern European Time)',
  258. 'Asia/Gaza' => '(GMT+2:00) Asia/Gaza (Eastern European Time)',
  259. 'Asia/Istanbul' => '(GMT+2:00) Asia/Istanbul (Eastern European Time)',
  260. 'Asia/Jerusalem' => '(GMT+2:00) Asia/Jerusalem (Israel Standard Time)',
  261. 'Asia/Nicosia' => '(GMT+2:00) Asia/Nicosia (Eastern European Time)',
  262. 'Asia/Tel_Aviv' => '(GMT+2:00) Asia/Tel_Aviv (Israel Standard Time)',
  263. 'Europe/Athens' => '(GMT+2:00) Europe/Athens (Eastern European Time)',
  264. 'Europe/Bucharest' => '(GMT+2:00) Europe/Bucharest (Eastern European Time)',
  265. 'Europe/Chisinau' => '(GMT+2:00) Europe/Chisinau (Eastern European Time)',
  266. 'Europe/Helsinki' => '(GMT+2:00) Europe/Helsinki (Eastern European Time)',
  267. 'Europe/Istanbul' => '(GMT+2:00) Europe/Istanbul (Eastern European Time)',
  268. 'Europe/Kaliningrad' => '(GMT+2:00) Europe/Kaliningrad (Eastern European Time)',
  269. 'Europe/Kiev' => '(GMT+2:00) Europe/Kiev (Eastern European Time)',
  270. 'Europe/Mariehamn' => '(GMT+2:00) Europe/Mariehamn (Eastern European Time)',
  271. 'Europe/Minsk' => '(GMT+2:00) Europe/Minsk (Eastern European Time)',
  272. 'Europe/Nicosia' => '(GMT+2:00) Europe/Nicosia (Eastern European Time)',
  273. 'Europe/Riga' => '(GMT+2:00) Europe/Riga (Eastern European Time)',
  274. 'Europe/Simferopol' => '(GMT+2:00) Europe/Simferopol (Eastern European Time)',
  275. 'Europe/Sofia' => '(GMT+2:00) Europe/Sofia (Eastern European Time)',
  276. 'Europe/Tallinn' => '(GMT+2:00) Europe/Tallinn (Eastern European Time)',
  277. 'Europe/Tiraspol' => '(GMT+2:00) Europe/Tiraspol (Eastern European Time)',
  278. 'Europe/Uzhgorod' => '(GMT+2:00) Europe/Uzhgorod (Eastern European Time)',
  279. 'Europe/Vilnius' => '(GMT+2:00) Europe/Vilnius (Eastern European Time)',
  280. 'Europe/Zaporozhye' => '(GMT+2:00) Europe/Zaporozhye (Eastern European Time)',
  281. 'Africa/Addis_Ababa' => '(GMT+3:00) Africa/Addis_Ababa (Eastern African Time)',
  282. 'Africa/Asmara' => '(GMT+3:00) Africa/Asmara (Eastern African Time)',
  283. 'Africa/Asmera' => '(GMT+3:00) Africa/Asmera (Eastern African Time)',
  284. 'Africa/Dar_es_Salaam' => '(GMT+3:00) Africa/Dar_es_Salaam (Eastern African Time)',
  285. 'Africa/Djibouti' => '(GMT+3:00) Africa/Djibouti (Eastern African Time)',
  286. 'Africa/Kampala' => '(GMT+3:00) Africa/Kampala (Eastern African Time)',
  287. 'Africa/Khartoum' => '(GMT+3:00) Africa/Khartoum (Eastern African Time)',
  288. 'Africa/Mogadishu' => '(GMT+3:00) Africa/Mogadishu (Eastern African Time)',
  289. 'Africa/Nairobi' => '(GMT+3:00) Africa/Nairobi (Eastern African Time)',
  290. 'Antarctica/Syowa' => '(GMT+3:00) Antarctica/Syowa (Syowa Time)',
  291. 'Asia/Aden' => '(GMT+3:00) Asia/Aden (Arabia Standard Time)',
  292. 'Asia/Baghdad' => '(GMT+3:00) Asia/Baghdad (Arabia Standard Time)',
  293. 'Asia/Bahrain' => '(GMT+3:00) Asia/Bahrain (Arabia Standard Time)',
  294. 'Asia/Kuwait' => '(GMT+3:00) Asia/Kuwait (Arabia Standard Time)',
  295. 'Asia/Qatar' => '(GMT+3:00) Asia/Qatar (Arabia Standard Time)',
  296. 'Europe/Moscow' => '(GMT+3:00) Europe/Moscow (Moscow Standard Time)',
  297. 'Europe/Volgograd' => '(GMT+3:00) Europe/Volgograd (Volgograd Time)',
  298. 'Indian/Antananarivo' => '(GMT+3:00) Indian/Antananarivo (Eastern African Time)',
  299. 'Indian/Comoro' => '(GMT+3:00) Indian/Comoro (Eastern African Time)',
  300. 'Indian/Mayotte' => '(GMT+3:00) Indian/Mayotte (Eastern African Time)',
  301. 'Asia/Tehran' => '(GMT+3:30) Asia/Tehran (Iran Standard Time)',
  302. 'Asia/Baku' => '(GMT+4:00) Asia/Baku (Azerbaijan Time)',
  303. 'Asia/Dubai' => '(GMT+4:00) Asia/Dubai (Gulf Standard Time)',
  304. 'Asia/Muscat' => '(GMT+4:00) Asia/Muscat (Gulf Standard Time)',
  305. 'Asia/Tbilisi' => '(GMT+4:00) Asia/Tbilisi (Georgia Time)',
  306. 'Asia/Yerevan' => '(GMT+4:00) Asia/Yerevan (Armenia Time)',
  307. 'Europe/Samara' => '(GMT+4:00) Europe/Samara (Samara Time)',
  308. 'Indian/Mahe' => '(GMT+4:00) Indian/Mahe (Seychelles Time)',
  309. 'Indian/Mauritius' => '(GMT+4:00) Indian/Mauritius (Mauritius Time)',
  310. 'Indian/Reunion' => '(GMT+4:00) Indian/Reunion (Reunion Time)',
  311. 'Asia/Kabul' => '(GMT+4:30) Asia/Kabul (Afghanistan Time)',
  312. 'Asia/Aqtau' => '(GMT+5:00) Asia/Aqtau (Aqtau Time)',
  313. 'Asia/Aqtobe' => '(GMT+5:00) Asia/Aqtobe (Aqtobe Time)',
  314. 'Asia/Ashgabat' => '(GMT+5:00) Asia/Ashgabat (Turkmenistan Time)',
  315. 'Asia/Ashkhabad' => '(GMT+5:00) Asia/Ashkhabad (Turkmenistan Time)',
  316. 'Asia/Dushanbe' => '(GMT+5:00) Asia/Dushanbe (Tajikistan Time)',
  317. 'Asia/Karachi' => '(GMT+5:00) Asia/Karachi (Pakistan Time)',
  318. 'Asia/Oral' => '(GMT+5:00) Asia/Oral (Oral Time)',
  319. 'Asia/Samarkand' => '(GMT+5:00) Asia/Samarkand (Uzbekistan Time)',
  320. 'Asia/Tashkent' => '(GMT+5:00) Asia/Tashkent (Uzbekistan Time)',
  321. 'Asia/Yekaterinburg' => '(GMT+5:00) Asia/Yekaterinburg (Yekaterinburg Time)',
  322. 'Indian/Kerguelen' => '(GMT+5:00) Indian/Kerguelen (French Southern & Antarctic Lands Time)',
  323. 'Indian/Maldives' => '(GMT+5:00) Indian/Maldives (Maldives Time)',
  324. 'Asia/Calcutta' => '(GMT+5:30) Asia/Calcutta (India Standard Time)',
  325. 'Asia/Colombo' => '(GMT+5:30) Asia/Colombo (India Standard Time)',
  326. 'Asia/Kolkata' => '(GMT+5:30) Asia/Kolkata (India Standard Time)',
  327. 'Asia/Katmandu' => '(GMT+5:45) Asia/Katmandu (Nepal Time)',
  328. 'Antarctica/Mawson' => '(GMT+6:00) Antarctica/Mawson (Mawson Time)',
  329. 'Antarctica/Vostok' => '(GMT+6:00) Antarctica/Vostok (Vostok Time)',
  330. 'Asia/Almaty' => '(GMT+6:00) Asia/Almaty (Alma-Ata Time)',
  331. 'Asia/Bishkek' => '(GMT+6:00) Asia/Bishkek (Kirgizstan Time)',
  332. 'Asia/Dacca' => '(GMT+6:00) Asia/Dacca (Bangladesh Time)',
  333. 'Asia/Dhaka' => '(GMT+6:00) Asia/Dhaka (Bangladesh Time)',
  334. 'Asia/Novosibirsk' => '(GMT+6:00) Asia/Novosibirsk (Novosibirsk Time)',
  335. 'Asia/Omsk' => '(GMT+6:00) Asia/Omsk (Omsk Time)',
  336. 'Asia/Qyzylorda' => '(GMT+6:00) Asia/Qyzylorda (Qyzylorda Time)',
  337. 'Asia/Thimbu' => '(GMT+6:00) Asia/Thimbu (Bhutan Time)',
  338. 'Asia/Thimphu' => '(GMT+6:00) Asia/Thimphu (Bhutan Time)',
  339. 'Indian/Chagos' => '(GMT+6:00) Indian/Chagos (Indian Ocean Territory Time)',
  340. 'Asia/Rangoon' => '(GMT+6:30) Asia/Rangoon (Myanmar Time)',
  341. 'Indian/Cocos' => '(GMT+6:30) Indian/Cocos (Cocos Islands Time)',
  342. 'Antarctica/Davis' => '(GMT+7:00) Antarctica/Davis (Davis Time)',
  343. 'Asia/Bangkok' => '(GMT+7:00) Asia/Bangkok (Indochina Time)',
  344. 'Asia/Ho_Chi_Minh' => '(GMT+7:00) Asia/Ho_Chi_Minh (Indochina Time)',
  345. 'Asia/Hovd' => '(GMT+7:00) Asia/Hovd (Hovd Time)',
  346. 'Asia/Jakarta' => '(GMT+7:00) Asia/Jakarta (West Indonesia Time)',
  347. 'Asia/Krasnoyarsk' => '(GMT+7:00) Asia/Krasnoyarsk (Krasnoyarsk Time)',
  348. 'Asia/Phnom_Penh' => '(GMT+7:00) Asia/Phnom_Penh (Indochina Time)',
  349. 'Asia/Pontianak' => '(GMT+7:00) Asia/Pontianak (West Indonesia Time)',
  350. 'Asia/Saigon' => '(GMT+7:00) Asia/Saigon (Indochina Time)',
  351. 'Asia/Vientiane' => '(GMT+7:00) Asia/Vientiane (Indochina Time)',
  352. 'Indian/Christmas' => '(GMT+7:00) Indian/Christmas (Christmas Island Time)',
  353. 'Antarctica/Casey' => '(GMT+8:00) Antarctica/Casey (Western Standard Time (Australia))',
  354. 'Asia/Brunei' => '(GMT+8:00) Asia/Brunei (Brunei Time)',
  355. 'Asia/Choibalsan' => '(GMT+8:00) Asia/Choibalsan (Choibalsan Time)',
  356. 'Asia/Chongqing' => '(GMT+8:00) Asia/Chongqing (China Standard Time)',
  357. 'Asia/Chungking' => '(GMT+8:00) Asia/Chungking (China Standard Time)',
  358. 'Asia/Harbin' => '(GMT+8:00) Asia/Harbin (China Standard Time)',
  359. 'Asia/Hong_Kong' => '(GMT+8:00) Asia/Hong_Kong (Hong Kong Time)',
  360. 'Asia/Irkutsk' => '(GMT+8:00) Asia/Irkutsk (Irkutsk Time)',
  361. 'Asia/Kashgar' => '(GMT+8:00) Asia/Kashgar (China Standard Time)',
  362. 'Asia/Kuala_Lumpur' => '(GMT+8:00) Asia/Kuala_Lumpur (Malaysia Time)',
  363. 'Asia/Kuching' => '(GMT+8:00) Asia/Kuching (Malaysia Time)',
  364. 'Asia/Macao' => '(GMT+8:00) Asia/Macao (China Standard Time)',
  365. 'Asia/Macau' => '(GMT+8:00) Asia/Macau (China Standard Time)',
  366. 'Asia/Makassar' => '(GMT+8:00) Asia/Makassar (Central Indonesia Time)',
  367. 'Asia/Manila' => '(GMT+8:00) Asia/Manila (Philippines Time)',
  368. 'Asia/Shanghai' => '(GMT+8:00) Asia/Shanghai (China Standard Time)',
  369. 'Asia/Singapore' => '(GMT+8:00) Asia/Singapore (Singapore Time)',
  370. 'Asia/Taipei' => '(GMT+8:00) Asia/Taipei (China Standard Time)',
  371. 'Asia/Ujung_Pandang' => '(GMT+8:00) Asia/Ujung_Pandang (Central Indonesia Time)',
  372. 'Asia/Ulaanbaatar' => '(GMT+8:00) Asia/Ulaanbaatar (Ulaanbaatar Time)',
  373. 'Asia/Ulan_Bator' => '(GMT+8:00) Asia/Ulan_Bator (Ulaanbaatar Time)',
  374. 'Asia/Urumqi' => '(GMT+8:00) Asia/Urumqi (China Standard Time)',
  375. 'Australia/Perth' => '(GMT+8:00) Australia/Perth (Western Standard Time (Australia))',
  376. 'Australia/West' => '(GMT+8:00) Australia/West (Western Standard Time (Australia))',
  377. 'Australia/Eucla' => '(GMT+8:45) Australia/Eucla (Central Western Standard Time (Australia))',
  378. 'Asia/Dili' => '(GMT+9:00) Asia/Dili (Timor-Leste Time)',
  379. 'Asia/Jayapura' => '(GMT+9:00) Asia/Jayapura (East Indonesia Time)',
  380. 'Asia/Pyongyang' => '(GMT+9:00) Asia/Pyongyang (Korea Standard Time)',
  381. 'Asia/Seoul' => '(GMT+9:00) Asia/Seoul (Korea Standard Time)',
  382. 'Asia/Tokyo' => '(GMT+9:00) Asia/Tokyo (Japan Standard Time)',
  383. 'Asia/Yakutsk' => '(GMT+9:00) Asia/Yakutsk (Yakutsk Time)',
  384. 'Australia/Adelaide' => '(GMT+9:30) Australia/Adelaide (Central Standard Time (South Australia))',
  385. 'Australia/Broken_Hill' => '(GMT+9:30) Australia/Broken_Hill (Central Standard Time (South Australia/New South Wales))',
  386. 'Australia/Darwin' => '(GMT+9:30) Australia/Darwin (Central Standard Time (Northern Territory))',
  387. 'Australia/North' => '(GMT+9:30) Australia/North (Central Standard Time (Northern Territory))',
  388. 'Australia/South' => '(GMT+9:30) Australia/South (Central Standard Time (South Australia))',
  389. 'Australia/Yancowinna' => '(GMT+9:30) Australia/Yancowinna (Central Standard Time (South Australia/New South Wales))',
  390. 'Antarctica/DumontDUrville' => '(GMT+10:00) Antarctica/DumontDUrville (Dumont-d\'Urville Time)',
  391. 'Asia/Sakhalin' => '(GMT+10:00) Asia/Sakhalin (Sakhalin Time)',
  392. 'Asia/Vladivostok' => '(GMT+10:00) Asia/Vladivostok (Vladivostok Time)',
  393. 'Australia/ACT' => '(GMT+10:00) Australia/ACT (Eastern Standard Time (New South Wales))',
  394. 'Australia/Brisbane' => '(GMT+10:00) Australia/Brisbane (Eastern Standard Time (Queensland))',
  395. 'Australia/Canberra' => '(GMT+10:00) Australia/Canberra (Eastern Standard Time (New South Wales))',
  396. 'Australia/Currie' => '(GMT+10:00) Australia/Currie (Eastern Standard Time (New South Wales))',
  397. 'Australia/Hobart' => '(GMT+10:00) Australia/Hobart (Eastern Standard Time (Tasmania))',
  398. 'Australia/Lindeman' => '(GMT+10:00) Australia/Lindeman (Eastern Standard Time (Queensland))',
  399. 'Australia/Melbourne' => '(GMT+10:00) Australia/Melbourne (Eastern Standard Time (Victoria))',
  400. 'Australia/NSW' => '(GMT+10:00) Australia/NSW (Eastern Standard Time (New South Wales))',
  401. 'Australia/Queensland' => '(GMT+10:00) Australia/Queensland (Eastern Standard Time (Queensland))',
  402. 'Australia/Sydney' => '(GMT+10:00) Australia/Sydney (Eastern Standard Time (New South Wales))',
  403. 'Australia/Tasmania' => '(GMT+10:00) Australia/Tasmania (Eastern Standard Time (Tasmania))',
  404. 'Australia/Victoria' => '(GMT+10:00) Australia/Victoria (Eastern Standard Time (Victoria))',
  405. 'Australia/LHI' => '(GMT+10:30) Australia/LHI (Lord Howe Standard Time)',
  406. 'Australia/Lord_Howe' => '(GMT+10:30) Australia/Lord_Howe (Lord Howe Standard Time)',
  407. 'Asia/Magadan' => '(GMT+11:00) Asia/Magadan (Magadan Time)',
  408. 'Antarctica/McMurdo' => '(GMT+12:00) Antarctica/McMurdo (New Zealand Standard Time)',
  409. 'Antarctica/South_Pole' => '(GMT+12:00) Antarctica/South_Pole (New Zealand Standard Time)',
  410. 'Asia/Anadyr' => '(GMT+12:00) Asia/Anadyr (Anadyr Time)',
  411. 'Asia/Kamchatka' => '(GMT+12:00) Asia/Kamchatka (Petropavlovsk-Kamchatski Time)'
  412. ), $default, $attributes);
  413. $list .= '</div>';
  414. return $this->output($list);
  415. }
  416.  
  417. }
  418. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.