300000 Milliseconds to 5:00

Hey there,

I’ve looked all over the web and I have not been able to wrap my head around converting milliseconds to a properly formated time.

I have a 5 minute countdown timer and I want to format the milliseconds into a proper time…

PLEASE help me out here!