0

Incrementing a date in JavaScript

JavaScript
var tomorrow = new Date();
tomorrow.setDate(tomorrow.getDate() + 1);
add comment
Suggest a different solution or add another example