Closed ErfanDL closed 2 years ago
You need to call internal IDF time functions. Like this:
time_t currentTime = time (NULL);
tm* splitTime = localtime (¤tTime);
int minutes = splitTime ->tm_min;
All them are internal ESP32 SDK functions and have nothing to do with this library
Hi. how can I get only hours or minutes with this library ? I do not need to read the full time information. thanks.