title: February and strtotime
body: <p>okay?</p>
  
  <p>I'm trying to hit a calculation date here, however I am not getting ..</p>
  
  <p>What happens is the following:</p>
  
  <pre><code>$AtualMenos3 = date("m-d-Y", strtotime("2013-03-31 -3 month"));
  $AtualMenos2 = date("m-d-Y", strtotime("2013-03-31 -2 month"));
  $AtualMenos1 = date("m-d-Y", strtotime("2013-03-31 -1 month"));
  $AtualMes = date("m-d-Y", strtotime("2013-03-31"));
  </code></pre>
  
  <p>The correct should be:</p>
  
  <pre><code>03-31-2013
  02-28-2013
  01-31-2013
  12-31-2012
  </code></pre>
  
  <p>However, this php calculating the date wrong, because when month is February (which only has 28 days) the calculation goes wrong ..</p>
  
  <p>Real output:</p>
  
  <pre><code>03-31-2013
  03-03-2013
  01-31-2013
  12-31-2012
  </code></pre>
  
  <p>Does anyone know give me a light on how I fix this? because this complicated .. I'm out of ideas ... I can not think of anything: \</p>