get hours, minutes and seconds from milliseconds