Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var today = new Date();
- var nextMonth = new Date(new Date(today).setMonth(today.getMonth()+8));
- console.log("today : "+today);
- console.log("nextMonth : "+nextMonth );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement