Answers for "moment js for day month and year"

6

moment js add day

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

first day of month and last day of month moment js

const startOfMonth = moment().clone().startOf('month').format('YYYY-MM-DD hh:mm');
const endOfMonth   = moment().clone().endOf('month').format('YYYY-MM-DD hh:mm');
Posted by: Guest on May-20-2021

Code answers related to "moment js for day month and year"

Code answers related to "Javascript"

Browse Popular Code Answers by Language