The SAMD21 microcontroller in the more recent Arduino board designs had a clock/calendar built-in. It’s one of the operating modes of the Real-Time Counter. There are counter fields fields for seconds, minutes, hours, (optional AM/PM), days, months, and years. However the year field is only 6 bits, allowing for only 64 years starting at a …