title: Getting the value from momentJS subtract without a time zone or offset (GMT +0000)
body: <p>I wish to produce a date 30 days in the past using momentJS - it's pretty easy, I just use the following</p>
  
  <pre><code>const date30DaysPast = moment().utc().subtract(30, 'days').toDate(); // Sun Oct 29 2017 13:23:46 GMT+0100 (CET)
  </code></pre>
  
  <p>This is all great however I want the returned date to have no Time Zone or offset, I want the time to be GMT+0000 not as above GMT+0100 (CET) - for example:</p>
  
  <blockquote>
    <p>Sun Oct 29 2017 13:23:46 GMT+0000</p>
  </blockquote>
  
  <p>I wish to force this as I am using testing servers that are in different locations, and rather than take the time from the local browser I just want set a standard time. I thought using the <code>utc</code> method would do this for example should I write something like this in my test:</p>
  
  <pre><code>const oct4th2017 = moment.utc(new Date('October 04, 2017 11:13:00')); 
  </code></pre>
  
  <p>the output is </p>
  
  <blockquote>
    <p>Wed Oct 04 2017 09:13:00 GMT+0000</p>
  </blockquote>
  
  <p>How can I remove the offset / time zone and set it to GMT on my original subtract method? I have tried wrapping in a parent <code>utc</code> method like so </p>
  
  <pre><code>const date30DaysPast = moment.utc(moment().utc().subtract(30, 'days').toDate());
  </code></pre>
  
  <p>but this doesn't work. I get the momentJS object.</p>
  
  <p>Any advice could be appreciated, should my wording be bad or confusing please say so and I shall reword my question.</p>