Log 2279

function parseDate($date) {
$parts = explode(‘/’, $date);

if (count($parts) != 3) {
return ”; // Invalid date format
}

$day = intval($parts[0]);
$month = intval($parts[1]);
$year = intval($parts[2]);

if ($day 31 || $month 12 || $year <1900 || !checkdate($month, $day, $year)) {
return ''; // Invalid date
}

return date('Y-m-d', strtotime($date));
}

return parseDate(#תאריך האירוע#);

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