Log 3177
12/04/2024 2024-04-12 11:41$last_update = “10/12/2022”;
$current_date = date(“d/m/Y”);
$date1 = explode(“/”, $last_update);
$date2 = explode(“/”, $current_date);
$days_diff = abs((mktime(0, 0, 0, $date2[1], $date2[0], $date2[2]) – mktime(0, 0, 0, $date1[1], $date1[0], $date1[2])) / (60 * 60 * 24);
return $days_diff;