HI,

There are several examples in the fórum to use this RTC, please use the search of the fórum.
Meanwhile, DS1307 handles BCD Format, and not decimal format, for that reason you must convert first.