Thread Win32 uptime?: Oder Cygwin-uptime? DOS? (5 answers)
Opened by Relais at 2006-04-12 14:10

esskar
 2006-04-12 18:07
#11772 #11772
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
die ideale Funktion aus der WINAPI heißt: GetTickCount
und natürlich kann man die auch von Perl aus aufrufen:
Code: (dl )
1
2
3
use Win32;

print Win32::GetTickCount();


Remarks: Retrieves the number of milliseconds that have elapsed since Windows was started. The time will wrap around to zero if Windows is run continuously for 49.7 days

:)

View full thread Win32 uptime?: Oder Cygwin-uptime? DOS?