Log 2277
06/12/2023 2023-12-06 13:28$date = #תאריך האירוע#; // Replace with your actual date placeholder
// Split the date into day, month, and year
list($day, $month, $year) = explode(“/”, $date);
// Create the formatted date string
$formattedDate = sprintf(“%02d-%02d-%04d”, $day, $month, $year);
return $formattedDate;