title: Remove time after converting date toISOString
body: <p>how can I remove the time after converting a date to ISO String?</p>
  
  <pre><code>var now = new Date();
  console.log( now.toISOString() );
  </code></pre>
  
  <p>if the output is </p>
  
  <pre><code>2017-10-19T16:00:00.000Z
  </code></pre>
  
  <p>I just want it to be :</p>
  
  <pre><code>2017-10-19
  </code></pre>