Apologies if this the wrong forum section.
On an MKR1000 and using the WifiRTC example with the only change to this script being the SSID and password...
It shows tomorrow's day.
It appears that the epoch returned from WiFi.getTime() is a day ahead in time.
Today is 13th January 2017, but the example shows it as being the 14th.
Every other aspect of the date and time is correct. Just the day is wrong.
Simplified Sample code:
unsigned long epoch; epoch = WiFi.getTime(); Serial.print("Epoch received: "); Serial.println(epoch); rtc.setEpoch(epoch); Serial.println(); Serial.print("Day is "); Serial.println(rtc.getDay());
Epoch received: 1484395306 Day is 14
Anyone else seeing this problem?