i have another date will call 'your date' = '2012/10/13', usually this date is after (greater than) 'my date'.
so i want to calcuate the number of days between 'my date' and 'your date'
the whole code i am writing will be like this
$mydate=strtotime($mydate) - 5184000000; //5184000000 is the number of milliseconds in 60days.
$days=round(($yourdate-$mydate) / 86400000); //not tested yet