Looking for a complete HTML SELECT for the PEAR Date Class

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cbellew
    New Member
    • Sep 2007
    • 26

    Looking for a complete HTML SELECT for the PEAR Date Class

    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
  • cbellew
    New Member
    • Sep 2007
    • 26

    #2
    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.timezonecon verter.com/cgi-bin/tzc.tzc
    http://www.timezonecon verter.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

    Comment

    Working...