title: Getting the month number by month name with Moment.js
body: <p>I am trying to return the month number passing the month name using MomentJS. For example if I pass "July" to moment() I would expect 7 to be returned.</p>
  
  <p>After reading through the docs I tried several different ways, and this way came close...</p>
  
  <pre><code>console.log(moment().month("July"));
  </code></pre>
  
  <p>In the console, buried in the response I could see this...</p>
  
  <pre><code>_monthsParse: Array[7]
  </code></pre>
  
  <p>Could anyone please tell me how to return the month number using MomentJS correctly?</p>