DS3231 - Changing Battery

Does the DS3231 RTC module hold it's time date when replacing the battery?

If it has external power at the time then I am sure that it does. If it is not powered at the time then it is unlikely I would have thought

Thank you UKHeliBob.

That depends on the circuit and how it is powered. If powered no problem. If there is a Keep Alive capacitor in the circuit it will keep a while when the battery is changed assuming it is not totally discharged.

Thank you Gilshultz