If you are looking for getting this date internal to the hub, you can see [RELEASE] Hub Information Driver v3. Install that and access the lastHubRestart
or lastHubRestartFormatted
via that device. Or you can look at the code to see how it computes it from location.hub.uptime
.
2 Likes