Answers for "calculate moment start time and end time hours diffrence"

1

moment calculate duration

moment
 .duration(moment(endTime, 'YYYY/MM/DD HH:mm')
 .diff(moment(startTime, 'YYYY/MM/DD HH:mm'))
 ).asHours()
Posted by: Guest on February-26-2021
0

moment duratuion from hours

var k = moment.duration(12, 'hours');
Posted by: Guest on October-13-2020

Code answers related to "calculate moment start time and end time hours diffrence"

Code answers related to "Javascript"

Browse Popular Code Answers by Language