title: NodeJS uptime and the epoch
body: <p>The following code calculates the epoch time of boot.</p>
  
  <pre><code>console.log(Math.floor(new Date() /1000) - os.uptime())
  </code></pre>
  
  <p>It should be constant, but there is a 1-second anomaly. </p>
  
  <p>Anyone knows why?</p>