I would look at the slider widget .. then set the time you need as the intervals.
The jQuery user interface has one: jQuery UI Slider .
: ( )...
1.) Theres ( ) 2 , jQuery UI .
, 2 ... ... 15 , , ?
. ( ASCII- )
Open Time (AM): 12 1 2 3 4 5 6 7 8 | 9 10 11 12
^ 8:15am
Close Time (PM): 12 1 2 3 4 5 6 | 7 8 9 10 11 12
^6:30pm
, "" ... , , 11pm ↔ 5am .
, , , :