☰
DDOCs
DDN-UTIL-MONACO
v2.1.0
/
ddn.util.monaco.system
/
uptime
🔍
☾
uptime
fn
Duration
uptime()
@trusted
Gets system uptime.
Returns
Duration representing how long the system has been running.
Example:
auto up = uptime(); writeln("System uptime: ", up);