Arduino Function: rtc.getTime

Description

This methods retrieves hours minutes and seconds from RTC and fills an internal structure called local_time then you can access this structure to read time.

Syntax

getTime();

Written by arduino.org