Small library for ESP8266 which returns the actual time adjusted by time zone and summer time
Clone or download
SensorsIot Merge pull request #13 from dadosch/patch-1
 moved code into code block for a better view
Latest commit c6a2e6e Nov 28, 2017

README.md

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 needs an internet connection.