add days to a new date typescript code example
Example: typescript add days to date
addDays(days : number): Date{
var futureDate = new Date();
futureDate.setDate(futureDate.getDate() + days);
return futureDate;
}
addDays(days : number): Date{
var futureDate = new Date();
futureDate.setDate(futureDate.getDate() + days);
return futureDate;
}