Answers for "moment js wrong day"

1

moment get tomorrow date

let today     = moment();

let tomorrow  = moment().add(1,'days');

let yesterday = moment().add(-1, 'days');
Posted by: Guest on November-17-2020
6

moment js add day

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language