Do you want to know how long your PC has been up since last reboot or shutdown? Well, in Mac or Unix variant, you can use uptime command.
How about Windows users? There is similar command too.
Go to Start Menu –> Run –> cmd
Then type : systeminfo
As in above image, you can see your system up time. Easy peasy!
Source : Technet