There are few lights with a timer that can be set to turn the light off at night after lighting up for certain hours. It works this way: the light turns on automatically at night and stays on for selected hours then turns off.
Unfortunately, we do not have a solution that would allow switching the light on and off at a certain time.