title: RangeError: Invalid time value
body: <p>I'm getting frequent errors when i start my server. Here is the error:</p>
  
  <p><strong>RangeError: Invalid time value
        at Date.toISOString ()</strong></p>
  
  <p>Here is the code:</p>
  
  <pre><code>var start = timestamp;
  const expiryDate = (new Date(start)).toISOString().split('T')[0];
  </code></pre>