javascript date get two digit month code example
Example 1: ecmascript 7 getmonth as 2 digits
("0" + (this.getMonth() + 1)).slice(-2)
Example 2: javascript date double digit month
var MyDate = new Date();
var MyDateString;
MyDate.setDate(MyDate.getDate() + 20);
MyDateString = ('0' + MyDate.getDate()).slice(-2) + '/'
+ ('0' + (MyDate.getMonth()+1)).slice(-2) + '/'
+ MyDate.getFullYear();