Answers for "momentjs get last 30days"

10

moment js add day

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

moment get month day

//The correct function to use is .date():

date.date() === 25;
Posted by: Guest on January-14-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language