typescript date plus 2 days 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;
}