View Single Post
Old Apr 19th, 2007, 5:43 PM   #4
PhilBon
Hobbyist Programmer
 
PhilBon's Avatar
 
Join Date: Nov 2005
Posts: 172
Rep Power: 3 PhilBon is on a distinguished road
Send a message via AIM to PhilBon Send a message via MSN to PhilBon
What you could do is have a form. And then like you were saying, get a JavaScript Calendar/Clock and have them select the time they want. When they click on it, have JavaScript put in the time into the correct input box. You could also tell them "Enter Time As Such: HHS A/P" for Am and PM then you just have PHP do a conversion for time. There is already probably a time class in PHP that will change 12-hour time to 24-hour.
PhilBon is offline   Reply With Quote