Answers for "add 1 day to current date node js"

5

js date add 1 day

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

nodejs date add days

date.setTime( date.getTime() + days * 86400000 );
Posted by: Guest on November-08-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language