hoe to get month and date from 05/09/2020 in js code example
Example 1: ecmascript 7 getmonth as 2 digits
("0" + (this.getMonth() + 1)).slice(-2)
Example 2: ecmascript 7 getmonth as 2 digits
("0" + this.getDate()).slice(-2)
("0" + (this.getMonth() + 1)).slice(-2)
("0" + this.getDate()).slice(-2)