Arduino and DS1307

Also with the Arduino Mega it appears to work but does not set the time on the RTC if i use T1289663280 it should set it on the RTC and Arduino, but it does not if I reset the Arduino the time goes back to 0:0:0 31:12:1999

The DS1307 is connected with a battery backup etc, so should return the correct time when reset.