Régler l'horloge ds1307

I tried the example in library parolamd the cloock ds1307 and It worked well.but I noticed that the clock changes a few minutes every week or two.
how can fix that without any push button

Use a better RTC like the DS3231.

i have one but how can use same code withe ds3231
can you help me for change fewon code

The basic code for ds1307 works with DS3231 - no change.

thank you verry maach

i testing ds3231 and will see result after :slight_smile: