Circut to turn on a battery powered electric fence
I think you may be over-engineering things. Why not just use a £5 battery operated timer switch that will turn on and turn off at the appropriate times of the day: -

Picture from here. It'll be about as accurate as light sensing given that light sensing circuits can be affected by weather conditions.