WHERE IFNULL(lavoratori_storico_mansioni.Data_Fine, CURDATE()) <= " & ConvertData.GetDataForMySql(DateTimePicker2.Value) & " ....