Using time and day for Opening hours

Maybe this thread can help: Activate the purchasing services according to the opening hours: morning and afternoon