My brain stopped working this afternoon. . . :-(

I can't figure out how to change a number of milliseconds into day's minutes hours and seconds.

for example 5400 milliseconds = 0 Days, 1 Hours, 30 Mins, 00 Seconds

Got a piece of code that does this in C++ that i wrote ages ago but for some odd reason it doesn't seem to work.


------------------
Third year Software Engineering Student.

On placement at the University of Manchester
playing with expensive cool things...
http://drinky.u4l.com
[email protected]