Answers for "moment declare date"

6

moment date add

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

format a date moment

moment(testDate).format('MM/DD/YYYY');
Posted by: Guest on December-18-2019

Code answers related to "Javascript"

Browse Popular Code Answers by Language