"do you have a link to some..." <- https://ww1.microchip.com/downloads/en/Appnotes/doc8307.pdf > With a software algorithm, the RTC can easily be used to provide calendar functionality, and derive time of day, week, and year.