Answers for "js add 14 days to date"

6

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
1

javascript add 1 day to new date

var date = new Date();
// add 1 day
date.setDate(date.getDate() + 1);
Posted by: Guest on March-02-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language