DS1307 AT24C32 Real Time Clock Module for Arduino

Find some tutorials and study them.
http://lmgtfy.com/?q=ds1307+arduino+tutorial