/ Published in: PHP

Simple script that returns to us a list with possible TimeZones
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<select id="timezone" name="timezone"> <?php $timezone_identifiers = DateTimeZone::listIdentifiers(); foreach($timezone_identifiers as $value) { { echo "<option>$value</option>"; } } ?> </select>
URL: http://neo22s.com/timezone-select-for-php/
Comments
