title: How do I get the server uptime in Node.js?
body: <p>How do I get a server uptime in Node.js so I can output it by a command like;</p>
  
  <pre><code>if(commandCheck("/uptime")){
    Give server uptime;
  }
  </code></pre>
  
  <p>Now I don't know how to calculate the uptime from the server's startup.</p>