if you need an esp8266 time server
https://forum.arduino.cc/index.php?t...004#msg4276004

could not get much easier , dst timezone the lot. with serial output in various formats
with explanations

tz explained here

https://github.com/G6EJD/ESP32-Time-...ster/README.md