I have an PHP 5.2.6 application that all time related data are stored as UTC time in the database. But at the same time I'd like to give user the option to choose their prefered time zone when displaying time in UI.
But the problem is, I found out that there are literally hundreds of legal PHP timezones provided by the following website:
It's gonna be really awkward to let user choose their prefered timezone from hundreds of options.
How to simply the number of selections? Basically I'm just looking for the number of Options similar to MS Windows timezone selection, from GMT- 0 to GMT - +12 or -12.
Also daylight saving needs to be taken into consideration as well.
Any suggestion will be really appreciated!