Virtuabotixrtch Arduino Library Guide

virtuabotixRTC

The library is a dedicated tool for interfacing Arduino microcontrollers with the DS1302 Real-Time Clock (RTC) module. It simplifies the process of setting, updating, and retrieving time data—including seconds, minutes, hours, days, months, and years—from the chip. Core Features

Serial.print(2000 + myRTC.year);

Time Not Updating:

Check your wiring! The DS1302 is sensitive to loose jumper wires. virtuabotixrtch arduino library

Converting to Unix Timestamp