$today = strtotime(date(“d/m/Y”)); $joinDate = strtotime(#תאריך הצטרפות#); $daysDifference = round(($today – $joinDate) / (60 * 60 * 24)); return $daysDifference;