void setup() { // put your setup code here, to run once: #include //This is the library for the RTC #include #include DS3231 rtc; rtc.setDoW(6); //this is only a sample day for now and 1 would mean that it is Sunday rtc.setMonth(4); //this sets the month of the RTC to April because it is the first month rtc.setDate(7); //In combination with the line above sets the RTC to the 7th of april rtc.setYear(18); //This sets the year at the time the RTC is initiated not sure how the year needs to be formatted but it will not accept the full 2018 rtc.setHour(14); //This sets the hour of the RTC rtc.setMinute(54); rtc.setSecond(50); } void loop() { // put your main code here, to run repeatedly: }