Arduino Function: rtc.setDate(void)

Description

Unlike previous method, this retrieves values from an internal structure called local_date and write them on RTC.

Syntax

rtc.local_date.day=13; rtc.local_date.month=8; rtc.local_date.year=15; rtc.setDate();

Written by arduino.org