Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript next month from date

var d = new Date('2018-03-31');

d.setMonth(d.getMonth() + 1, 1);

dt = new Date(d);
document.getElementById("demo").innerHTML = dt;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #month #date
ADD COMMENT
Topic
Name
1+1 =