moment.js format date as iso 8601 without dashes?
<p>How do I format a date as iso 8601 using moment.js but without the dashes and colons and setting the time to 0 e.g. if I have a date like this:</p>

<pre><code>2016-10-08T09:00:00Z
</code></pre>

<p>How do I format as :</p>

<pre><code>20161008T000000Z
</code></pre>

<p>Doing <code>moment(date).toISOString()</code> gives <code>2016-10-08T09:00:00.000Z</code> which is not what I want.</p>