Answers for "moment format hour minute"

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
2

moment hour minute

moment().format('HH:mm:ss')
Posted by: Guest on January-12-2021

Code answers related to "moment format hour minute"

Code answers related to "Javascript"

Browse Popular Code Answers by Language