I have a small trouble that would be great to have some help with. I am creating a small form that I want to take a current date formatted \'dd/mm/yyyy\' and add a
var dt = new Date($("#startdate").val());
var updateDate = dt.setDate(dt.getFullYear() + $("#registerfor").val());
var dd = updateDate.getDate();
var mm = updateDate.getMonth();
var y = updateDate.getFullYear();
var someFormattedDate = dd + '/'+ mm + '/'+ y;
console.log(someFormattedDate);