javascript getdate + 1 not working for end of month code example Example: get current date + 1 js var date = new Date(); date.setDate(date.getDate() + 1);