For example

The court imposed a curfew, whereby he had to be at his home between the hours of 8:00 pm and 8:00 am.