The Real-Time Clock and Calendar (RTCC) is a built-in hardware block in the PIC32MZ microcontroller. It has the function to keep track of the actual time and date, provided an external power supply is always supplying the microcontroller with power.