Set the RTC day, month and year.
rtc.setDate(byte day, byte month, byte year)
day: the day value to be set.
month: the month value to be set.
year: the year value to be set.
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.