Log 4600
20/01/2025 2025-01-20 11:34$today = date(‘d/m/Y’);
$event_date = #תאריך אירוע#;
$date1 = explode(‘/’, $today);
$date2 = explode(‘/’, $event_date);
$months_diff = (($date2[2] – $date1[2]) * 12) + ($date2[1] – $date1[1]);
return abs($months_diff) . ‘ חודשים’;