I was wondering if there is a built-in method in Ruby that allows me to convert lap times in the format of hh:mm:ss.sss to milliseconds and vice versa. Since I need to do some c
Convert seconds into HH:MM:SS in Ruby
t = 323 # seconds Time.at(t).utc.strftime("%H:%M:%S") => "00:03:56"