Answers for "momentjs add weeks"

6

moment js add day

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

moment.js format

moment().format('MMMM Do YYYY, h:mm:ss a'); // December 4th 2020, 1:04:29 pm
moment().format('dddd');                    // Friday
moment().format("MMM Do YY");               // Dec 4th 20
moment().format('YYYY [escaped] YYYY');     // 2020 escaped 2020
moment().format();                          // 2020-12-04T13:04:29-05:00
Posted by: Guest on December-04-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language