getUptime() .net -

getUptime() .net

Snippet Code

Rate this page :
  [ 0 votes]

Get a human readable string representation of the amount of time the computer has been on since the OS started.It gives u how long the computer has been running in days, hours minutes and seconds.

Public Function getUptime() As String Dim strResult As String = String.Empty strResult = Math.Round(Environment.TickCount / 86400000)


Ask Questions

Ask Question