error accessing struct tm data from avr.libc time

Hope you have an RTC in there somewhere because Arduino is not a watch company.