Convert UINT64 to usable string in ASP (Win32_PerfRawData_PerfOS_System - SystemUpTime)
Posted on 2008-10-29
I was using Win32_PerfFormattedData_PerfOS_System - SystemUpTime to determing how long a server had been online, unfortunately that doesn't exist in Server 2000. So, I decided to use Win32_PerfRawData_PerfOS_System. However, the number is like 128697836904361421 and I have no idea how to convert that to anything useful. I did discover it's uINT64, but that doesn't help me any...
How do I make this useful? What kind of math do I need to convert it to seconds?