You need to decide what they need to do. Are they going to do the same thing every day? Do you want to control them with an on time and an off time or an on time and a duration. How accurate do your on and off times need to be?
At it's most basic you have an on time and off time and every time loop() runs get the current time and compare to the on and off times and take appropriate action.