EDIT: I should clarify the request a little more. I wanted to calculate the difference between NOW and the next 8am (or 10pm, or whatever) time and set a timer to launch at that specific time. Everyday at 8am is a little to simplistic. I wanted the timer to go off at various times like 8am, 12pm, 10pm and there isn't a guarantee that the ESP modules hasn't been reset.
EDIT: I should clarify the request a little more. I wanted to calculate the difference between NOW and the next 8am (or 10pm, or whatever) time and set a timer to launch at that specific time. Everyday at 8am is a little to simplistic. I wanted the timer to go off at various times like 8am, 12pm, 10pm and there isn't a guarantee that the ESP modules hasn't been reset.