The tcDspRtcM41T81 class is a real-time clock class used to keep track of time in increments of seconds, minutes, hours, days and years. The M41T81 also has support for hundredths of a second resolution. This class provides functions for converting time formats, as well as getting and setting the current time.
This is a simple example of tcDspRtcM41T81 creation and usage: