It's the "setup function", not the "void setup".
You're using the variable 'hour', 'minute', 'second' before you actually assign any values to them. You don't do that until here in the loop function:
It's the "setup function", not the "void setup".
You're using the variable 'hour', 'minute', 'second' before you actually assign any values to them. You don't do that until here in the loop function: