title: Get the start date and end date by passing month and year in Javascript
body: <p>I wanted to know as how to get the start date and end date by passing the month name to a function like:</p>
  
  <pre><code>var myMonth="September 2015"
  </code></pre>
  
  <p>?</p>
  
  <p>I tried this link <a href="https://stackoverflow.com/questions/13571700/get-first-and-last-date-of-current-month-with-javascript-or-jquery">Get first and last date</a> but the input is different  from the one that is in the link</p>