title: PHP Get days difference between a date and the date today (Now)
body: <p>I can't seem to get this to work. I have tried from the samples online but there wasn't one the is exactly what I needed. Basically I want to be able to display the number of days that passed from the given date. My sample below is a combined HTML and PHP, I had to do it this way for some reasons.</p>
  
  <pre><code>&lt;?php
  $OldDate = strtotime($row['DateSigned']);
  $NewDate = date('M j, Y', $OldDate);
  ?&gt;
  
  &lt;b&gt;Date Signed:&lt;/b&gt; &lt;?php echo $NewDate; ?&gt;
  &lt;b&gt;Days Since Signed:&lt;/b&gt; &lt;?php echo date_diff(strtotime($NewDate),Date("y/m/d")); ?&gt;
  </code></pre>
  
  <p>This seem to fail.<code>Date("y/m/d")</code> is the date today. Can you tell me what went wrong?</p>