A landscape lighting system is normally controlled by a timer and photocell. The photocell will turn the system on at dusk and the timer will turn the system off at the time of your choosing.
The heavy duty digital timer has a battery backup. If you lose electricity the timer will continue to operate. Unlike most timers you will not need to reset the timer.