Is your project for low voltage lighting (like under 15V) or for 115/230V?
If the latter, I strongly suggest that you simply purchase a commercially available timer. They are inexpensive, reliable and safe, something that a home-built timer may lack on all counts.