Skip to main content
Skip table of contents

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

Sample Code

VB
' 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


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.