Time !

Hi, I´m using DS1307 RTC, I wanna know, what do I have to do to keep the time and date after I turn off the circuit ?! Thanks!

Use a battery in the Vbat pins of the DS1307 RTC… and make sure your code is not going to override the time inside the RTC when you boot up.

Sorry, but I´m using the examples that has the library and it already has a batery , where do I have to verify, if the code canceled the time and date inside the RTC?

As long as you only write the time/date to the RTC under operator control or some other similar event you should be OK.

How DO you set the time/date?