Gets the server's uptime as a Duration instance with milliseconds precision. The count starts when the node is duccessfully connected with the hub.
writeln("The server is online from ", server.uptime.minutes, " minutes"); ulong m, s; server.uptime.split!("minutes", "seconds")(m, s); writeln("The server is online from ", m, " minutes and ", s, " seconds");
See Implementation
Gets the server's uptime as a Duration instance with milliseconds precision. The count starts when the node is duccessfully connected with the hub.