Log 3177

$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;

Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
  • Attributes
  • Custom attributes
  • Custom fields
Click outside to hide the comparison bar
Compare