how to write code for to and from date in protractor code example
Example: giving the date in protractor
browser.executeScript("document.getElementById('datepicker').value='02/11/2019'");
browser.executeScript("document.getElementById('datepicker').value='02/11/2019'");