showing results for - "increment day date javascript"
Victoria
18 Mar 2018
1
2  incrementeDate(dias: any) {
3    var tomorrow = new Date();
4    tomorrow.setDate(tomorrow.getDate() + dias);
5    return tomorrow;
6  }
7
8  const date = incrementeDate(5);
9
10// start date: 9/30/21
11// result date: 10/05/21