Log 4408
11/12/2024 2024-12-11 17:16$age = explode(‘/’, #מועד אירוע#);
$birthday = explode(‘/’, #תאריך לידה#);
$years_diff = $age[2] – $birthday[2];
if ($age[1] < $birthday[1] || ($age[1] == $birthday[1] && $age[0] < $birthday[0])) {
return $years_diff – 1;
} else {
return $years_diff;
}