Log 4968

if (empty(#start_time#) || empty(#end_time#)) {
return “”;
}

$start_time = strtotime(str_replace(“/”, “-“, #start_time#));
$end_time = strtotime(str_replace(“/”, “-“, #end_time#));

if ($start_time === false || $end_time === false) {
return “”;
}

$diff_in_seconds = $end_time – $start_time;

if ($diff_in_seconds <= 0) {
return "";
}

$total_hours = round($diff_in_seconds / 3600, 2);
return $total_hours . " שעות";

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