
Here’s a good app note from Maxim on writing real-time clock code to get a stable system operation.
With the use of proper device initialization and code sequencing, accurate timekeeping and clock alarm operations become a more manageable task.

Here’s a good app note from Maxim on writing real-time clock code to get a stable system operation.
With the use of proper device initialization and code sequencing, accurate timekeeping and clock alarm operations become a more manageable task.
No mention of DST, which is important for lots of MCU timer projects where people want/need to use resources (electricity, water, etc) at certain times of the day.