I am trying to implement a time zone option on a web application. I want to use SET time_zone and it works fine. Where can I find a complete <select>
list that has all the time_zone options available for the user to select from. Thanks
EDIT: I would like to use the 'US/Central' format and not '+10:00'
您可以在http://dev.mysql.com/doc/refman/5.5/en/time-zone-support.html上找到该列表,其中说明了时区设置如何取决于您的操作系统支持的内容。
Well, this is not a proper answer to your question but you can give it a try. Visit this link . It's my demo when I was trying to get timezones by country. Maybe, you can adapt that code to your needs.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.