title: How to set the timezone with moment 2.0.0
body: <p>I am bug fixing an angularjs application which uses moment.js 2.0.0 and angular material.</p>
  
  <p>When I set the date to my datepicker, the date is always set one day behind the proper date (for instance if I set 23/11, the string passed to the server is 22/11).</p>
  
  <p>I have seen that this problem have been faced tons of time on stackoverflow such as here <code>https://stackoverflow.com/a/9509425/1948785</code> </p>
  
  <p>It seems to be a timezone problem and because my web app is using moment.js 2.0.0 please I need to know <strong>how to set the timezone with such version.</strong></p>
  
  <p>Exploring the moment.js I cannot find a moment.tz method.</p>
  
  <p>Here is my div:</p>
  
  <pre><code>&lt;md-input-container class="col-xs-6 col-md-3"&gt;
      &lt;label&gt;Opening date&lt;/label&gt;
      &lt;md-datepicker ng-disabled="..." name="Openingdate" ng-model="dealer.openingDate"  aria-label="Opening date" ng-model-options="{ timezone: 'utc' }"&gt;
          Opening date
          &lt;div ng-messages="..." ng-show="..."&gt;
              &lt;div ng-message="required"&gt;...&lt;/div&gt;
          &lt;/div&gt;
      &lt;/md-datepicker&gt;
  &lt;/md-input-container&gt;
  </code></pre>
  
  <p>openingDate is set up by the datepicker and then sent via post this way:</p>
  
  <pre><code>if(!dealer) {
      throw new Error('Invalid parameters.');
  }
  config_post.url = actions.create_dealer;
  config_post.data = {};
  config_post.data['dealer'] = dealer;
  
  return $http(config_post);
  </code></pre>
  
  <p>if I debug via chrome dev tool before calling this post the date is already wrong (-1 day)</p>