• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 193
  • Last Modified:

Get last time reboot

How can I get the time of the last reboot ?
0
sharons
Asked:
sharons
1 Solution
 
philipleighsCommented:
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

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now