Log 2731

$dates = #תאריך המשימה#;
$array = explode(“,”, $dates);

$latestDate = null;

foreach ($array as $dateString) {
$timestamp = strtotime($dateString);

if ($timestamp !== false && ($latestDate === null || $timestamp > $latestDate)) {
$latestDate = $timestamp;
}
}

$formattedDate = date(‘d/m/Y’, $latestDate);
return $formattedDate;

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