NXSL:SecondsToUptime

From NetXMS Wiki
Jump to navigation Jump to search
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide)

Format system uptime in seconds as string in format "n days, hh:mm".

Syntax

SecondsToUptime(seconds)

Parameters

seconds Number of seconds.

Return Value

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

Examples

SecondsToUptime(600)     -> "0 days, 00:10"