Answers for "add today's date in moment js"

6

moment js add day

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

moment now format

var date = moment().format('MM/DD/YYYY');
Posted by: Guest on July-27-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language