Arduino Function: rtc.getDate

Description

This method fills an internal structure called local_date, accessible in the RTCInt class, with day, month and year read from RTC. For correct representetation of year add appropriate offset to this field.

Syntax

rtc.getDate();

Written by arduino.org