Hello, do you need the light to be on constantly during a certain period of time? Or do you need the motion sensor to turn the light on/off at a certain time? Here is the answer to the second question.