Answers for "how to set date to the moment"

6

moment date add

var new_date = moment(startdate, "DD-MM-YYYY").add(5, 'days');
Posted by: Guest on May-15-2020
9

moment to date

moment().toDate();
Posted by: Guest on February-27-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language