I'm not suggesting this as the solution, but the original solution was a Sangamo solar timeclock, calibrated for local latitude. It would 'calculate' when dusk was due and turn off at a time you preset. I have an ancient one one controlling my LED outside light.