I have two dates in string formate i want to calculate these things from the two date strings.
1) Year difference
For example
$date1 = "20/04/2002";
$date2= "20/04/2010";
$five_yers_back = <Five years back that is 2005>
similarly
$date2= "20/05/2010";
$a_week = "< seven days back from date2 >";
Plz help
Use strtotime + date