Answers for "nodejs add seven days to date"

1

javascript current date add 30 days

var future = new Date();
future.setDate(future.getDate() + 30);
Posted by: Guest on April-26-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