Hi S.Jeeva,
There are so many options. You can use a dropdown with hours - that's easy. You don't need to create your own control. You can also do cool stuff like have start-stop buttons that automatically calculate the duration of time between clicks... let us know more info about your scenario first.
Cheers!