<?php $list['timeadded'] = '01/02/2012 07:40:23'; $dt1 = new DateTime($list['timeadded']); $dt2 = new DateTime(); $dt2->sub(new DateInterval('P7D')); $interval = $dt1->diff($dt2); echo $interval->format('%d days');
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`