>Do you want it to go off at an actual time, or after it's been on for a certain length of time? The latter is fairly standard - don't know of the former, but that doesn't mean they don't exist.
On at dusk (time varies), off at set time - so that it comes on as darkness falls and goes off at...