.getYear
DESCRIPTION
Returns a byte with the year.
SYNTAX
RTC.getYear();
PARAMETERS
none
RETURNS
Returns a byte with the year.
EXAMPLE
#include
#include
#include
#include
InvIoT_U1 lcd(A0, A1); InvIoT_RTC rtc; void setup() { rtc.init(); } void loop() { lcd.clear(); lcd.print(rtc.getYear()); delay(250); }
SEE ALSO
.setYYMMDDHHMMSS
.setYYMMDD
.setHHMMSS
.getYYMMDDHHMMSS
.getTime24