title: date = new Date(); date.valueOf() vs Date.now()
body: <p>I am getting started with JavaScript. I consulted my colleague on how to get the current time.</p>
  
  <p>He told me with this code:</p>
  
  <pre><code>&gt; date = new Date()
  &gt; date.valueOf()
  </code></pre>
  
  <p>But most people do it this way:</p>
  
  <pre><code>&gt; Date.now()
  </code></pre>
  
  <p>The second method is simpler and more readable.</p>
  
  <p>If I want to convince my colleague to use the second one, how should I explain the difference to him?</p>