If the controller is unsuccessful connecting to internet at bootup, then it will not know what time it is. Even if it is able to connect later, it will not attempt to get the time, so it will spend the rest of its uptime not knowing what time it is.
-make it know if it knows the time or not
-make it try to get the time if it doesn't have it
-beware the logic the calculates uptime. If it's been calculating uptime against a bogus time (0:00-o'clock), then suddenly correcting the time might mess that up
If the controller is unsuccessful connecting to internet at bootup, then it will not know what time it is. Even if it is able to connect later, it will not attempt to get the time, so it will spend the rest of its uptime not knowing what time it is.
-make it know if it knows the time or not -make it try to get the time if it doesn't have it -beware the logic the calculates uptime. If it's been calculating uptime against a bogus time (0:00-o'clock), then suddenly correcting the time might mess that up