moment format to hours and minutes code example
Example 1: moment hour minute
moment().format('HH:mm:ss')
Example 2: moment duratuion from hours
var k = moment.duration(12, 'hours');
moment().format('HH:mm:ss')
var k = moment.duration(12, 'hours');