Virtuabotixrtch: Arduino Library //free\\
Returns a formatted string: HH:MM:SS .
// Print the current time and date Serial.print("Current Time: "); Serial.print(hours); Serial.print(":"); Serial.print(minutes); Serial.print(":"); Serial.println(seconds); Serial.print("Current Date: "); Serial.print(month); Serial.print("/"); Serial.print(day); Serial.print("/"); Serial.println(year);
: Fetching the current time from the RTC chip's internal registers to the Arduino. Data Access virtuabotixrtch arduino library
Since virtuabotixRTC is not always pre-listed in the Arduino Library Manager, it is often installed manually via GitHub or by importing a .zip file. Steps to Install:
The VirtuabotixRTCH Arduino Library offers several features that make it easy to integrate the RTC module with Arduino boards: Returns a formatted string: HH:MM:SS
VirtuabotixRTCH rtc;
Notes:
// Wait 1 second before reading again delay(1000);
VirtuabotixRTC(int cePin, int ioPin, int sclkPin); Steps to Install: The VirtuabotixRTCH Arduino Library offers
Use setDS1302Time() in your setup() function. Upload this once to set the time, then comment it out and re-upload so your clock doesn't reset every time the Arduino restarts.

