[1]: https://i.stack.imgur.com/I1WOv.png
ここにコードがあります
function myFunction() {
var input1,input2, filter, table, tr, td, i;
input1 = document.getElementById("dateStart").value;
input2 = document.getElementById("dateEnd").value;
table = document.getElementById("question1-list");
tr = table.getElementsByTagName("tr");
for (i = 0; i < tr.length; i++) {
td = tr[i].getElementsByTagName("td")[4].innerHTML;
var d1=input1.split("-");
var d2=input2.split("-");
var c=td.split("-");
var from=new Date(d1[0],parseInt(d1[1])-1,d1[2]);
var to = new Date(d2[0], parseInt(d2[1])-1, d2[2]);
var check = new Date(c[0], parseInt(c[1])-1, c[2]);
if(check>=from && check<=to)
{
tr[i].style.display = "";
}
else
{
tr[i].style.display = "none";
}
}
}