Answers for "moment add 2 minutes in current times 12 hour format"

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 23 hour

let dt = moment();
dt.format("HH:mm") // 24 hour time
dt.format("hh:mm a") // 12 hour time (with am/pm)
Posted by: Guest on May-30-2021

Code answers related to "moment add 2 minutes in current times 12 hour format"

Code answers related to "Javascript"

Browse Popular Code Answers by Language