NTPtimeESP
NTPtimeESP copied to clipboard
Small library for ESP8266 which returns the actual time adjusted by time zone and summer time
NTPtimeESP
This library returns the queries the NTP time service and returns the actual time in a structure:
struct strDateTime
{
byte hour;
byte minute;
byte second;
int year;
byte month;
byte day;
byte dayofWeek;
boolean valid;
};
The time can be automatically adjusted by time zone and European summer time. It runs on ESP8266 and ESP32 and needs an internet connection.