title: Android get date before 7 days (one week)
body: <p>How to get date before one week from now in android in this format:</p>
  
  <pre><code>SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
  </code></pre>
  
  <p>ex: now <code>2010-09-19 HH:mm:ss</code>, before one week <code>2010-09-12 HH:mm:ss</code></p>
  
  <p>Thanks</p>