How to tell uptime on windows?

Using one of the following commands one can tell the uptime on windows i.e. the time since the last reboot occurred.

REM on WinXP
C:> net statistics workstation | find /I “Statistics since”
Statistics since 12/28/2008 10:35 AM

REM on WinXP, Windows 2000
C:\>systeminfo | find /I “System Up Time”
System Up Time: 1 Days, 14 Hours, 18 Minutes, 51 Seconds

One comment