Function for the role of turning milliseconds into a string