title: How to find out what the date was 5 days ago?
body: <p>Well, the following returns what date was 5 days ago:</p>
  
  <pre><code>$days_ago = date('Y-m-d', mktime(0, 0, 0, date("m") , date("d") - 5, date("Y")));
  </code></pre>
  
  <p>But, how do I find what was 5 days ago from <strong>any date</strong>, not just today?</p>
  
  <p>For example: What was 5 days prior to 2008-12-02?</p>