RTCZero - setDate()

Set the RTC day, month and year.

Syntax

rtc.setDate(byte day, byte month, byte year)

Parameters

  • day: the day value to be set.

  • month: the month value to be set.

  • year: the year value to be set.