title: Trying to remove 1 month from date
body: <p>I'm looking at someone elses code. Basically, the code is meant to pull out this months figures, and the previous months figures.</p>
  
  <p>Today, it is showing July as current month, and July as previous month. I suspect because it's working out today is the 31st July, and there isnt a 31st of June.</p>
  
  <p>Below is the code to define previous month - any thoughts?</p>
  
  <pre><code>$this-&gt;monthPrev    = date('F Y', strtotime('this month -1 month'));
  $this-&gt;currentMonth = date('F Y', strtotime('this month'));
  </code></pre>