title: Get date in format 2016-01-01T00:00:00.000-00:00
body: <p>I'm trying to get a date in this format for <a href="http://developers.mercadolibre.com/metrics/#modal1" rel="nofollow noreferrer">mercadolibre api</a>:</p>
  
  <pre><code>2016-01-01T00:00:00.000-00:00
  </code></pre>
  
  <p>But when I do:</p>
  
  <pre><code>var date_from = new Date();
      date_from.setDate(date_from.getDate() - 1);
      date_from.setUTCHours(0,0,0,0);
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>2017-01-08T17:04:54.925Z
  </code></pre>
  
  <p>How I fix this?</p>