Computer Uptime

This Automation Manager object displays the properties of the system baseboard or motherboard.

Privileges

Normal

Input Parameters

None

Output Parameters

Name Type Description
Days Number This is the number of days of uptime (note that this is rounded to the lowest value, so 23hrs would be 0 days. 25hrs would show 1 day).
Hours Number This is the number of hours of uptime excluding days (note that 25hrs of uptime is 1 day 1hr, so 1hr would be shown here).
Minutes Number This is the number of minutes of uptime excluding days (note that 25hrs 30 minutes of uptime is 1 day 1hr 30 minutes, so 30 minutes would be shown here).
Seconds Number This is the number of seconds of uptime excluding days (note that 25hrs 30 minutes 25 seconds of uptime is 1 day 1hr 30 minutes and 25 seconds, so 25 seconds would be shown here).
Milliseconds Number This is the number of milliseconds of uptime excluding days (note that 25hrs 30 minutes 25 seconds and 223 milliseconds of uptime is 1 day 1hr 30 minutes 25 seconds and 223 milliseconds, so 223 milliseconds would be shown here).
Ticks Number This is the total uptime in Ticks. A single tick represents one hundred nanoseconds or one ten-millionth of a second. There are 10,000 ticks in a millisecond, or 10 million ticks in a second.
Total Days Number This is the total days of uptime. Note that this includes fractons, so 36hrs would be 1.5 days, and 12hrs would be 0.5 day.
Total Hours Number This is the total hours of uptime, so 36hrs would be shown as 36hrs, and 12hrs30minutes would be 12.5hrs.
Total Minutes Number This is the total number of minutes of uptime, so 3hrs would show as 180 minutes, and 30 seconds would be 0.5 minute.
Total Seconds Number This is the total seconds of uptime, so 2 minutes would be 120 seconds.
Last Boot Uptime Date This is the last recorded full reboot time (local computer time).
Result Number Returns a success value of zero or any value other than zero to indicate failure.
Result String String Object execution error details.

Example Input Parameters

No input parameters required.