Modules (RTC, SD, GPS…)ArduinoESP32ESP8266
RTClib
by Adafruit
Read and set time from DS1307, DS3231, and PCF8523 real-time clock modules.
View on GitHubInstall
Open Sketch → Include Library → Manage Libraries…, search for
RTClib, and click Install.Example Code
cpp
Go Further
More Modules (RTC, SD, GPS…)