Solved

Get last time reboot

Posted on 1998-10-14
3
186 Views
Last Modified: 2010-04-06
How can I get the time of the last reboot ?
0
Comment
Question by:sharons
3 Comments
 
LVL 3

Accepted Solution

by:
philipleighs earned 90 total points
ID: 1342916
Hi,

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

Cheers,
Phil.

0
 
LVL 1

Expert Comment

by:BlackDeath
ID: 1342917
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
 

Author Comment

by:sharons
ID: 1342918
Thank you. It works great (with NT too).


0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question