I have this variable
var qStartday = '2017-02-22T22:00,
How i can get curent date and i add one month to my automated script?
I have this variable
var qStartday = '2017-02-22T22:00,
How i can get curent date and i add one month to my automated script?
var d = new Date('2017-02-22T22:00');
d.setMonth(d.getMonth()+1)
console.log(d);