Solved

Get last time reboot

Posted on 1998-10-14
3
182 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now