30-10-2018, 23:24
Hi Werk,
things are getting even more strange:
gives:
WiFi connection is ON
Timestamp: 1540941636
Timestamp RTC Unix: 1573946436
2018
10
30
So .unixtime() is doing strange things for me...
This comes from the time library, right?
I'm compiling with IDE 1.8.5 at the moment.
things are getting even more strange:
Code:
Serial.print("Timestamp: ");
Serial.println(now());
Serial.print("Timestamp RTC Unix: ");
Serial.println(RTC.now().unixtime());
Serial.println(RTC.now().year());
Serial.println(RTC.now().month());
Serial.println(RTC.now().day());
gives:
WiFi connection is ON
Timestamp: 1540941636
Timestamp RTC Unix: 1573946436
2018
10
30
So .unixtime() is doing strange things for me...
This comes from the time library, right?
I'm compiling with IDE 1.8.5 at the moment.