title: How to convert Date to timestamp using MomentJS?
body: <p>I used MomentJS to convert local date to UTC date using the following way:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$("#div1").text(moment("2016-10-11 18:06:03").tz("Europe/Paris").format());</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.0/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.14.1/moment.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.6/moment-timezone-with-data.min.js"&gt;&lt;/script&gt;
  
  &lt;div id="div1"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Now I need timestamp from the output value using MomentJS.</p>