SecondsToUptime

SecondsToUptime(seconds): String

Format system uptime in seconds as string in format "n days, hh:mm". Hours are padded with a space, not a zero, and the value is rounded to the nearest minute.

Table 1. Parameters

seconds

Integer

Number of seconds.

Return

System uptime in format "n days, hh:mm".

println(SecondsToUptime(600)); // Will print "0 days,  0:10"