title: first and last days of user input month
body: <p>How to get first day and last day of the month that user input in javascript.</p>
  
  <p>Example:</p>
  
  <pre><code>userInputMonth = 01; //jan
  </code></pre>
  
  <p>How to get first day and last day of the user input month</p>