In E-invoicing(Fatoorah) project there was a requirement to use DataTables

<td> object.time_stamp.isoformat </td>

$.fn.dataTable.ext.search.push(
  function(settings, data, dataIndex)
    var min = minDate.val();
    var max = maxDate.val();
    let dateTime = data[1];
   // here !!!!!!!!!!!!!
    var date = new Date(dateTime);
    if (
      (min === null && max === null) ||
      (min === null && date <= max) ||
      (min <= date && max === null) ||
      (min <= date && date <= max)
    )
      return true;

    return false;

);

From here: https://stackoverflow.com/a/5077395/5305401