When a device restarts, you'll see entries in the system event log from source "EventLog" with IDs 6005 / 6009 (successful shutdown / restart) or 6008 (unclean / dirty shutdown previous to this boot). As others have said, though, uptime doesn't get reset on a shutdown because of the fast start feature, where the kernel is hibernated and only the user's session is torn down.