I am using the ESP32 with Time.h library from the examples SimpleTime to pull time from the internet.
The library returns time in the format Serial.println(&timeinfo, "%A, %B %d %Y %H:%M:%S");
My target is to pick either hours %H, minutes %M or seconds %S and put it into an integer like
int T_H
int T_M
int T_S
How do I do that..?
My main purpose of doing it is to do some certain job when the hour, minute or seconds changes or do something at a certain specified time.
In this case it's a bit different from most libraries you may come across. Usually if you include a library, there's a library folder with a .h file and all the method definitions in it. However, in this case, time.h is part of the set of standard libraries that come with the C compiler that's used. @chrisknightley has linked you to an excellent source for the documentation.