function timeToString(time)
{
	let diffInHr=time/3600000;
	let hh=Math.floor(diffInHr);

	let diffInMn=(diffInHr-hh)*60;
	let mm=Math.floor(diffInMn);

	let diffInSc=(diffInMn-mm)*60;
	let ss=Math.floor(diffInSc);

	let diffInMs=(diffInSc-ss)*100;
	let milis=Math.floor(diffInMs);

	let formattedMn=mm.toString().padStart(2,"0");
	let formattedS=ss.toString().padStart(2,"0");
	let formattedMs=milis.toString().padStart(2,"0");

	return `${formattedMn}:${formattedS}:${formattedMs}`;
}
// Converting time into a format of hours, minutes and seconds

Converting time into a format of hours, minutes and seconds
Converting time into a format of hours minutes and seconds
function timeToString(time)
{
	let diffInHr=time/3600000;
	let hh=Math.floor(diffInHr);
	let diffInMn=(diffInHr-hh)*60;
	let mm=Math.floor(diffInMn);
	let diffInSc=(diffInMn-mm)*60;
	let ss=Math.floor(diffInSc);
	let diffInMs=(diffInSc-ss)*100;
	let milis=Math.floor(diffInMs);
	let formattedMn=mm.toString().padStart(2,"0");
	let formattedS=ss.toString().padStart(2,"0");
	let formattedMs=milis.toString().padStart(2,"0");
	return `${formattedMn}:${formattedS}:${formattedMs}`;
}
function timeToString ( time ) { let diffInHr = time / 3600000 ; let hh = Math . floor ( diffInHr ) ; let diffInMn = ( diffInHr - hh ) * 60 ; let mm = Math . floor ( diffInMn ) ; let diffInSc = ( diffInMn - mm ) * 60 ; let ss = Math . floor ( diffInSc ) ; let diffInMs = ( diffInSc - ss ) * 100 ; let milis = Math . floor ( diffInMs ) ; let formattedMn = mm . toString ( ) . padStart ( 2 , "0" ) ; let formattedS = ss . toString ( ) . padStart ( 2 , "0" ) ; let formattedMs = milis . toString ( ) . padStart ( 2 , "0" ) ; return ` ${ formattedMn } ${ formattedS } ${ formattedMs } ` ; }
Converting time into a format of hours, minutes and seconds
Converting time into a format of hours minutes and seconds