Answers for "get current date javascript plus few days"

5

add 1 day to date js

let date = new Date();
// add a day
date.setDate(date.getDate() + 1);
Posted by: Guest on June-08-2020
1

javascript current date add 30 days

var future = new Date();
future.setDate(future.getDate() + 30);
Posted by: Guest on April-26-2020

Code answers related to "get current date javascript plus few days"

Code answers related to "Javascript"

Browse Popular Code Answers by Language