Hi I have this format bootstrap datepicker
$('#dte').datepicker({
format: 'dd/mm/yyyy'
});
and I want to add example 5days
var d1 = new Date($('#dte').val());
var end = d1 + $('#numberToAdd').val();
But I get invalid date results.
Can someone help me please what is the correct way to add dates in javascript
Thank you in advance.