how to add number of days to timestamp 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;
}