I am not sure if you guys looked into the RTC library. You can use the DS1307 Real Time Clock breakout, you will need to install the library from GitHub to begin working with that.


This is also the RTC library (https://www.arduino.cc/en/Reference/RTC) and it has some examples to start with.