I\'ve been using Javascript\'s Date for a project, but noticed today that my code that previously worked is no longer working correctly. Instead of producing Feb as expected
Instead, try:
var now = new Date(); current = new Date(now.getFullYear(), now.getMonth()+1, 1);