Trying to make a servo flip a switch.

romz26:
... I figure i wouldnt need any timers with this but I am thinking i might need them. ...

You might need some timers. If the way it works is: turn the light on if it's dark, and off if it's light. Any light would cycle the light off then on, which is not what you want I'm sure. Use a timer: it should be light for 30 seconds or so before turning off the light. Don't use delay, or it will still flash.