Timing
Get the device uptime in years, months, days, hours, minutes, seconds, milliseconds, total days, and total seconds.
Uptime library for Arduino.
Maintainer: XbergCode
This library is compatible with all architectures so you should be able to use it on all the Arduino boards.
To use this library, open the Library Manager in the Arduino IDE and install it from there.