The easiest way to do it is an astroclock. I would forget about the timeclock combo and put one of these in to control a contactor.
https://www.amazon.com/Honeywell-TI035-Solar-Programmable-Switch/dp/B000EA6TLA
It takes a zip code and knows the sunrise / sunset time at the location so you can do on at dusk off at 10 PM, on at 4 AM off at dawn.
Very trouble free. Sometimes they gain or lose a few minutes each year.
https://www.amazon.com/Honeywell-TI035-Solar-Programmable-Switch/dp/B000EA6TLA
It takes a zip code and knows the sunrise / sunset time at the location so you can do on at dusk off at 10 PM, on at 4 AM off at dawn.
Very trouble free. Sometimes they gain or lose a few minutes each year.