To make it even worse… the same compiled and flashed with IDE 1.8.7 (added timestamp function of the serial monitor)
RTC current date: Oct 31 2018
00:40:33.270 -> RTC current time: 00:40:32
00:40:33.270 -> Sending NTP request to sync clock...
00:40:33.317 -> NTP replied
00:40:33.364 -> RTC Time2: 1573605633
00:40:33.364 -> Local Time: 1540946433
00:40:33.364 -> UTC time from NTP server: 23:40:33
00:40:33.410 -> RTC adjusted to local time: 00:40:33
00:40:33.410 -> RTC current date: Oct 31 2018
00:40:33.410 -> RTC current time: 00:40:33
00:40:33.457 ->
00:40:33.457 ->
WiFi connection is ON
Result of syncProvider_RTC(): 1573605677
So wrong epoch time varies with IDE version in my case

Update: Just downloading v1.8.4...
RTC current date: Oct 31 2018
00:40:33.270 -> RTC current time: 00:40:32
00:40:33.270 -> Sending NTP request to sync clock...
00:40:33.317 -> NTP replied
00:40:33.364 -> RTC Time2: 1573605633
00:40:33.364 -> Local Time: 1540946433
00:40:33.364 -> UTC time from NTP server: 23:40:33
00:40:33.410 -> RTC adjusted to local time: 00:40:33
00:40:33.410 -> RTC current date: Oct 31 2018
00:40:33.410 -> RTC current time: 00:40:33
00:40:33.457 ->
00:40:33.457 ->
WiFi connection is ON
Result of syncProvider_RTC(): 1573605677
So wrong epoch time varies with IDE version in my case

Update: Just downloading v1.8.4...

