Look at the samples for the Time library how to use it with the RTC and get the current time. That will save you a lot of hassles. No need to reinvent the wheel every time.
Korman
Look at the samples for the Time library how to use it with the RTC and get the current time. That will save you a lot of hassles. No need to reinvent the wheel every time.
Korman