CoStar Group interview question

Design a system that can operate based on the time.