Answers for "typescript add days to date"

0

typescript add days to date

addDays(days : number): Date{
  var futureDate = new Date();
  futureDate.setDate(futureDate.getDate() + days);
  return futureDate;
}
Posted by: Guest on August-17-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language