Hmmm, When I use this code example, each log file still resets to 1/1/2000 1:00AM I am using the example exactly "as is" in Arduino22. Is it possible to easily explain where the code resets the RTC?
// connect to RTC Wire.begin(); if (!RTC.begin()) { error("RTC failed"); }
If you do not see the "RTC failed" then it has successfully connected. If your RTC is not running, it will be stuck at the default time 1/1/2000 1:00AM, you need to run one of the examples from the RTCLib to initialize it and adjust it to your computer time.