Ya I seen that referenced beforeYou can incorporate a timer into the output of the sensor a lot of commercial sites do this to stop light pollution. A sensor will keep the lights on all night but using a timer can switch them off before dawn.
Sensor before timer so you're not inadvertently triggering the sensor with the timer