RTC DS1307 makes a break

HI!
I do have some trouble:
When I disconnect the Arduino the time makes a break at this moment. When the Arduino is connected again the time goes on at the time of disconnection. Battery is OK;
Besides of throwing away, is there another solution?

Thank You for helping.

used SKETCH:
#include <Wire.h>
#include “RTClib.h”

RTC_DS1307 RTC;

void setup () {
Serial.begin(9600);
Wire.begin();
RTC.begin();

if (! RTC.isrunning()) {
Serial.println(“RTC is NOT running!”);
RTC.adjust(DateTime(DATE, TIME));
}

}

void loop () {
DateTime now = RTC.now();

Serial.print(now.year(), DEC);
Serial.print(’/’);
Serial.print(now.month(), DEC);
Serial.print(’/’);
Serial.print(now.day(), DEC);
Serial.print(’ ‘);
Serial.print(now.hour(), DEC);
Serial.print(’:’);
Serial.print(now.minute(), DEC);
Serial.print(’:’);
Serial.print(now.second(), DEC);
Serial.println();

delay(3000);
}

Besides of throwing away, is there another solution?

Maybe it's just me, but have you thought of not disconnecting?

And code tags. Have you thought of using code tags?

Have you tried changing the battery?

Also make sure it is installed with correct polarity with + facing where you can read it.

If the chip is not running under battery power. There could be a circuit defect on the module which you can test for. You will need to confirm that approximately 3 v is getting to the Vbat lead of the chip. You will need to find a DS1307 data sheet and verify which chip pin is Vbat.

If the voltage is present but the rtc is not running, then you may have a defective chip or oscillator on the module. See this thread for a case of a counterfeit ds1307 chip which would not run under battery power http://forum.arduino.cc/index.php?topic=303406.0