Mwnci uptime() Function

Syntax

uptime()

Description

The uptime() function returns a hash containing integer values assigned to Day, Hour, Min, Sec, representing the amount of time the server has been running.

Example

include("main")
Up=uptime()
println(Up)

{"Day": 29, "Hour": 3, "Min": 8, "Sec": 16}