Format time spent in seconds to the last 3 decimals