I am quite confused on whether where to look for the solution on this one. I initially used DateTime::diff to this problem, however, the server this time has PHP version < 5.3.
I am calculating time difference,
$beyond= $_POST['beyond']; // 2012-01-07
$here= $_POST['here']; //2012-01-14
$interval = abs(strtotime($beyond) - strtotime($here));
The output of this is 604800, I want to output this into string with a value of +7 or simply 7.
Thanks.