Get last time reboot

How can I get the time of the last reboot ?
sharonsAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
philipleighsConnect With a Mentor Commented:
Hi,

There is a function called GetTickCount which returns the number of milliseconds that Windows has been running.

Cheers,
Phil.

0
 
BlackDeathCommented:
and what are you doing if the user starts up with dos instead of directly loading windows, walks to the john, takes two hours for a big bile of crap, wipes off, returns and _then_ starts windows ?

question to sharons:

should this run on both win9x and nt?

Black Death.


0
 
sharonsAuthor Commented:
Thank you. It works great (with NT too).


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.