|XP is just a number|
Uptime with Win32::GetTickCount()by BioHazard (Pilgrim)
|on Dec 02, 2002 at 12:09 UTC||Need Help??|
BioHazard has asked for the
wisdom of the Perl Monks concerning the following question:
I am recording the system uptime of my machine with a script shown below. By the time it is up for 49 days and 22 hours. Windows (XP) tells me so and a few other programs, too. Since this morning my Perl Script tells me:
Uptime: 0 days, 5 hoursThe machine definitely did not reboot. So what is wrong with Win32::GetTickCount()?
Of course, there is another script which parses the milliseconds in days, hours, etc. But the main point is that the value of Win32::GetTickCount() seems to overswap or seems to do something else in a way.
Has anyone an idea? Thanks :)
Here's the script:
reading between the lines is my real pleasure