title: Output of last week's date in PHP different between localhost and server
body: <p>I want to get the previous Monday (last week) and end of last week (Sunday) but when the code runs on the server it is different to when it's run on localhost.</p>
  
  <p>This is my code:</p>
  
  <pre><code>$start_past = strtotime("last week"); 
  $end_past = strtotime("+6 day",$start_past);
  
  echo $start_past_qry = date("m/d/Y",$start_past);
  echo $end_past_qry = date("m/d/Y",$end_past);
  </code></pre>
  
  <h3>Results on localhost</h3>
  
  <ul>
  <li>05/06/2013 </li>
  <li>05/12/2013</li>
  </ul>
  
  <h3>Results on server</h3>
  
  <ul>
  <li>05/13/2013</li>
  <li>05/19/2013</li>
  </ul>
  
  <p>The results on the server seems to be fall under the current week. I want to get the last week range.</p>