By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,949 Members | 1,855 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,949 IT Pros & Developers. It's quick & easy.

Looking for a complete HTML SELECT for the PEAR Date Class

P: 26
Hi Guys,

I've had a good look around but i can't seem to find what I am looking for. It's the HTML code for a SELECT (with all OPTIONs included) for the PEAR "Date" Class. I need it so that my users can select the timezone that they are in from the select and the resulting value would be directly understandable by the Date Class.

It strikes me that displaying time in different locations on web pages must be a common thing. Is there a better way of doing this in PHP or is this the popular method?

Thanks in advance everyone!

Chris
Oct 28 '08 #1
Share this Question
Share on Google+
1 Reply


P: 26
Almost answering my own question. For anyone needing this try taking the souce from these two select examples (one is roughly by continent, the other is by country)

http://www.timezoneconverter.com/cgi-bin/tzc.tzc
http://www.timezoneconverter.com/cgi-bin/tzc.tzc?style=2

Any other examples would still be appreciated though. Such as options with (GMT+2) or similar included would be fantastic.

Thanks,

Chris
Oct 28 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.