TheMasterGeneral Posted April 25, 2016 Share Posted April 25, 2016 Hi! I made a timezone dropdown for timezone selection. Did basic testing. Its a rather small list of cities/places. I only included one city/option per time-zone. I'm not responsible for inaccuracies or daylight savings time. *Shrugs* SQL You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. preferences.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. header.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Anyway, I hope you like it. Took a good hour just trying to find the timezones. Lol! Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted April 25, 2016 Share Posted April 25, 2016 Pretty good and all but there are much easier ways to go about this and could have saved you some time as well ;) You can take a look at this link: http://stackoverflow.com/a/1727150/3233912 But basically there is a timezone function that will spit the timezones in an array making a select list just that much easier and checking if they selected a valid tz Quote Link to comment Share on other sites More sharing options...
TheMasterGeneral Posted April 26, 2016 Author Share Posted April 26, 2016 Well, shoot! I could have used that! :D haha. Yeah, that would have made things a lot easier. Thanks Kyle! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.