title: Get ISO string from a date without time zone
body: <p>My configuration is Lisbon time zone. When I do <code>new Date()</code> I get my current local date/time which is <code>Fri Apr 28 2017 01:10:55 GMT+0100 (GMT Daylight Time)</code></p>
  <p>When I get the ISO string with <code>toISOString()</code> it will apply the time zone and I will get:</p>
  <pre><code>2017-04-28T00:10:55.964Z
  </code></pre>
  <p>The problem is that some minutes ago the date time was like this (yesterday):</p>
  <pre><code>2017-04-27T23:45:05.654Z
  </code></pre>
  <p>I tried moment.js (new to this) and I did something like this</p>
  <pre><code>document.write(moment('2017-04-28').format())
  </code></pre>
  <p>But I get this <code>2017-04-28T00:00:00+01:00</code> which is not <code>2017-04-28T00:00:00.000Z</code></p>
  <p>I want to pass this value as a parameter of a restful method to parse it automatically as a DateTime type, but if I pass the output from moment.js format then it will get parsed as <code>2017-04-27 23:00:00.00</code></p>
  <p>If I create a new date with <code>new Date()</code> or with <code>new Date('2017-04-27')</code> (date portion),  I just want to get the ISO format like as follows with no time zone:</p>
  <pre><code>2017-04-28T00:00:00.000Z
  </code></pre>
  <p>Is there a javascript method like toISOString() or using maybe moment to get that format?</p>
  <p>No matter what time zone or moment of day, I just to simulate that is midnight of the date given.</p>