Answers for "javascript add 1 day to new date"

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