Products
Breadcrumbs

SystemUptime

Purpose

Returns the amount of time HomeSeer has been running.  Time is displayed in the format days hours:minutes:seconds


Parameters

None


Returns

Return value: time
Type: string


Example

Visual Basic
' Set a virtual device to display the system uptime


    Sub Main(ByVal Parms As Object)

          hs.SetDeviceString(1234, "Uptime: " & hs.SystemUpTime, True)

    End Sub


' the display might be: Uptime: 1 Days 12:23:07