Log 2681
30/01/2024 2024-01-30 12:24Here is the PHP formula that satisfies all the given rules and calculates the departure date based on the entry date and the number of months in the management commitment field:
$entryDate = #תאריך כניסה למנוי#;
$months = #מס’ החודשים להתחייבות ניהול#;
$departureDate = date(‘d/m/Y’, strtotime($entryDate . ‘ + ‘ . $months . ‘ months’));
return $departureDate;
Please note that you need to replace `#תאריך כניסה למנוי#` with the actual entry date value and `#מס’ החודשים להתחייבות ניהול#` with the actual number of months value.