function formatMilliseconds(value) { var second = parseInt(value) / 1000; // second var minute = 0; // minute var hour = 0; // hour if(second > 60) { minute = parseInt(second / 60); second = parseInt(second % 60); if(minute > 60) { hour = parseInt(m…