title: Remove timezone from a moment.js object
body: <p>I'm using <a href="https://eonasdan.github.io/bootstrap-datetimepicker/Functions/#date" rel="noreferrer">datetimepicker.js</a> and its <code>date</code> function returns a <a href="http://momentjs.com/" rel="noreferrer">moment.js</a> object. It does so with the local UTC offset in it and my original date has a different offset.</p>
  
  <p>My original date:</p>
  
  <pre><code>2015-10-01T15:00:00.000Z
  </code></pre>
  
  <p>What I display on the date time picker (<code>DD-MM HH:mm</code>):</p>
  
  <pre><code>01-10 15:00
  </code></pre>
  
  <p>What I get:</p>
  
  <pre><code>2015-10-01T15:40:00+01:00
  </code></pre>
  
  <p>What I want:</p>
  
  <pre><code>2015-10-01T15:40:00+00:00
  </code></pre>
  
  <p>Note how I removed the +01 offset at the end.</p>
  
  <p>How can I do this applying it for any local UTC ? This is, without having to manually remove the 01 (as it can be a any other local offset depending on the user location).</p>
  
  <pre><code>var momentDate = timePicker.data("DateTimePicker").date();
  console.log(momentDate.format());
  //this prints  2015-10-01T15:40:00+01:00
  </code></pre>