Log 2719
04/02/2024 2024-02-04 15:29$arrivalDate = “#תאריך הגעה לחו”ל#”;
$departureDate = #תאריך עזיבה#;
$dateDiff = (strtotime($departureDate) – strtotime($arrivalDate)) / (60 * 60 * 24);
if ($dateDiff >= 0) {
$daysCount = $dateDiff + 1;
} else {
$daysCount = “”;
}
return $daysCount;