Difference between revisions of "NXSL:SecondsToUptime"

From NetXMS Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ Format system uptime in seconds as string in format "n days, hh:mm". == Syntax == SecondsToUptime(''seconds'') == Parameters == {| class="wikitable" |- | ''seconds...")
 
m (Text replacement - "^" to "{{deprecated}}")
 
Line 1: Line 1:
__NOTOC__
{{deprecated}}__NOTOC__
Format system uptime in seconds as string in format "n days, hh:mm".
Format system uptime in seconds as string in format "n days, hh:mm".



Latest revision as of 16:13, 13 September 2022

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"