title: How to get first day of current month in php?
body: <p>What I want to do is get 1st date of current month</p>
  
  <p><strong>Here is how to get last day of the current month</strong></p>
  
  <pre><code>date('d-m-Y', strtotime('last day of this month'))
  </code></pre>
  
  <p><strong>I've tried to use this, but it didn't work for me</strong></p>
  
  <pre><code>date('d-m-Y', strtotime('first day of this month'))    
  </code></pre>
  
  <p>Any idea how to solve my problem ?</p>