Westek TM143DOLB 3 Outlet Self-Adjusting Timer, Black
The Photo sensor turns lights/appliances on at dusk and you may set the timer for off in 2, 4, 6, or 8 hours, or at dawn. It accepts three 3-prong plugs and has a heavy duty cord with a grounded plug.