DateTimePicker - Select Date - Instantsearch

I would like to implement a date timepicker for Algolia. If I choose a date, all elements should be displayed from this date.

I have the problem… how i can change in my custom widget the searchParameters?

My JAVASCRIPT:

onst search = instantsearch({
appId: '0000000',
apiKey: '000000000000',
indexName: 'Events',
routing: true,

searchParameters:{
    filters: 'dateNumeric >= 1531591200'
}

});

`var customWidget = {
init: function(options) {
( "#datetimepickerNotime" ).focusout(function() { var date = (’#datefromdatetimepicker’).val();
var date = new Date (date);
alert(“dateNumeric >= 1512752400”);
});
}
};

search.addWidget(customWidget);

My Frontend:

<div class='input-group date' id="datetimepickerNotime">
    <input type='text' id="datefromdatetimepicker" name="date" class="form-control" autocomplete="off" value="<f:format.date date='now' format='d.m.Y' />"/>

    <span class="input-group-addon">
        <span class="fa fa-calendar"></span>
    </span>
</div>

I hope you can help me.

Hi there,

Have you had a look at the guide for creating a calendar widget using instantsearch.js? The most direct path for creating such widget will be to use the range connector.

Cheers,