Moment js get first and last day of current month
<p>How do I get the first and last day and time of the current month in the following format in moment.js:</p>

<blockquote>
  <p>2016-09-01 00:00</p>
</blockquote>

<p>I can get the current date and time like this:
<code>moment().format('YYYY-MM-DD h:m')</code> which will output in the above format.</p>

<p>However I need to get the date and time of the first and last day of the current month, any way to do this?</p>

<p><strong>EDIT:</strong> 
My question is different from <a href="https://stackoverflow.com/questions/26131003/moment-js-start-and-end-of-given-month">this</a> one because that asks for a given month that the user already has whereas I am asking for the <strong>current</strong> month along with asking for a specific format of the date that is not mentioned in the other so called 'duplicate'.</p>