Tom is correct.
The control boards for the home brew cameras all have settings for Daytime only, 24 hour, or nighttime only operation. The board has a light sensor to tell day from night and is adjustable for sensitivity.
These boards also have settings for the amount of delay between pics. And some have controls that allow "Movie-Mode" for the cameras that have such ability.
Here is a link to a supplier who has all the components nessessary minus the camera for a very good home brew build. There are other suppliers this is just the one I use. http://www.pixcontroller.com/ Bill is a nice guy very helpfull