Appointment block times like 5-7pm

Is there a way to have appointments in block times. For example someone can schedule us to come out to there house in 2 hours blocks. For example from 1-3pm or 2-4 pm ect?