Arduino Function: rtc.setTime(void)

Description

Unlike the previous method, this sets hours minutes and seconds on RTC retrirving values from a local structure called local_time.

Syntax

rtc.local_time.hour=12; rtc.local_time.minute=24; rtc.local_time.second=0; rtc.local_time.Tmode=0; rtc.setTime();

Written by arduino.org