Saving time to database to show booking hours

Hi there! I having some trouble to understand with time regarding issue:( so my target is i want to give user’s a time option ( Example - like booking time between 9-12 hours ) so they can enter the hotel in between this time …How can i achieve this ? please need help