Can you attach a timer to a light switch?

I want to put my porch light on a timer so it turns on at night and turns off on its own late at night. The switch is attached to a standard 3 switch electric box on the wall with a plate.
Update: How can I do it?
5 answers 5