I suggest you start here - Overview | DS1307 Real Time Clock Breakout Board Kit | Adafruit Learning System and Arduino Playground - HomePage. Check out the examples in the time library.
Get the DS1307 working and show you current time.
Let say your time variable (time_t) is currentTime.
Then,
if (hour(currentTime) == 6 && isAM(currentTime) == true) {
//turn on lights
}