Answers for "concatenate time and date in moment"

2

momentjs date and time string add minutes

moment(date, "DD-MM-YYYY hh:mm:ss")
                        .add(10, 'minutes')
                        .format('DD/MM/YYYY hh:mm:ss');
Posted by: Guest on May-28-2021
0

moment format a date into different format

moment(yourDate).format('MM/DD/YYYY');
Posted by: Guest on June-18-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language