moment 12 hour format code example
Example 1: moment hour minute
moment().format('HH:mm:ss')
Example 2: convert 24 hour to 12 hour moment js
moment("15", "hh").format('LT')
moment().format('HH:mm:ss')
moment("15", "hh").format('LT')