PHP date difference
<p>I have two dates in string formate i want to calculate these things from the two date strings.
1) Year difference
For example </p>

<pre><code>$date1 = "20/04/2002";
$date2= "20/04/2010";
$five_yers_back = &lt;Five years back that is 2005&gt;
</code></pre>

<p>similarly</p>

<pre><code>$date2= "20/05/2010";
$a_week = "&lt; seven days back from date2 &gt;";
</code></pre>

<p>Plz help</p>
