Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get next month js

let Month = 11 // according to Date's 0-11 month count
const d = new Date();
// can't make this inline bcos of .setMonth 's return value
d.setMonth(Month + 1)
Month = d.getMonth();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #month #js
ADD COMMENT
Topic
Name
3+8 =