Create a Time Zone Drop Down List (DDL) in PHP

World map of current time zones
Coordinated Universal Time

I’ve been struggling a bit with a working Time Zone Drop Down, so I thought I shared it. The target was to have a nice drop down list with as many Country/City combinations as possible, so that the users are not confused.

The Time Zone Drop Down Script

Also on github.com/tlex/variousScripts. If you have any suggestions for the Time Zone Drop Down script, please create a pull request on github or just leave a comment below.