add days to a date using jquery
Hi,
I want to add days to a particular date using jquery
following is my code
- var days = 15
var sdate = 01-Aug-2016;
/
var date = new Date(sdate);
var newdate = new Date(date);
newdate.setDate(newdate.getDate()+15);
var nd = new Date(newdate); alert(nd);
iam getting invalid date as output
How to solve this
Regards
Baiju