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: HH

S 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.