Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

calculate time difference in hrs moment

var duration = moment.duration(end.diff(startTime));
var hours = duration.asHours();
 
PREVIOUS NEXT
Tagged: #calculate #time #difference #hrs #moment
ADD COMMENT
Topic
Name
3+9 =