Tech Note 122 - ESP8266/ESP32 NTP Time – The Simple Way

Опубликовано: 15 Февраль 2026
на канале: G6EJD - David
15,072
489

How to get NTP sourced time on your ESP8266 or ESP32 using the in-built time functions, it can be done in just 6-lines. This approach removes all the complexity of DST and allows time and date to be formatted anyway you like:
Code: https://github.com/G6EJD/ESP_Simple_C...
Posix Timezones: https://github.com/nayarsystems/posix...
C++ Strftime function codes: http://www.cplusplus.com/reference/ct...