>Does anyone know how to return the time that a computer was booted or the amount of time a computer has been running since last reboot?
DECLARE integer GetTickCount IN win32API
? "System booted",DATETIME() - GetTickCount()/1000
PS:Good for 49.7 days.
Cetin