AppStatus.getUptime

Get the current uptime for the program using the start time and current time. Then divide the uptime in to weeks, days, hours, minutes, and seconds.

class AppStatus
void
getUptime
(
out uint weeks
,
out uint days
,
out uint hours
,
out uint mins
,
out uint secs
)

Parameters

weeks uint

weeks of runtime

days uint

days of runtime

hours uint

hours of runtime

mins uint

minutes of runtime

secs uint

seconds of runtime

Meta