title: How to calculate and get a date in the past (e.g. 3 weeks ago) from today's date (PHP)
body: <p>I have a news filtering script and I use this usually to get the current day:</p>
  
  <pre><code>echo date('j n Y');
  </code></pre>
  
  <p>Which returns something like 1 1 2011. What I want to do is being able to return the date a week ago relative to current date/day so that it would return just example (25 12 2010) if I choose to get 1 week ago. And so on if I want to get the day and month and year 3 weeks ago relative to current day.</p>
  
  <p>I do not know is that possible? given that I only have to use the current day month and year to retrieve past date, and I should be able to retrieve the past date as day, month, and year to use in the script.</p>
  
  <p>If my question is not clear, please let me know. I apologize.</p>