title: Php, date manipulation?
body: <p>I am new to php. And I would like to know some of the date manipulation things in php. </p>
  
  <pre><code>// Get Current date
  $date = date("Y-m-d");
  </code></pre>
  
  <p>What if I want to subtract current date and a specific date, lets say "today -  2008-06-26"?</p>
  
  <ol>
  <li><p>How to do date math manipulation (add, minus, multply etc) in php?</p></li>
  <li><p>If today, a subscriber subscribes on today date 2009-06-26, 1 week later I want to delete his account from my database, how do i do that? (I am using mysql)</p></li>
  <li><p>What can we do if we store the user's date in our database? For example, we can store user's bday date, so when on his bday day, we sent him some email. What else can date do??</p></li>
  </ol>