It took a bit to realize that configTime() is an ESP8266-specific function:
Maybe look at Getting Time from NTP service using NODEMCU 1.0 (ESP- 12E) - #6 by bperrybap
It took a bit to realize that configTime() is an ESP8266-specific function:
Maybe look at Getting Time from NTP service using NODEMCU 1.0 (ESP- 12E) - #6 by bperrybap