Calculating the hours minute secs and millseconds for few groups - Error on conversion

Please post a small sample of your data and code as a reproducible example (reprex). This is done with the reprex package and information about using it is available in these two posts (and many other places):
How to do a minimal reprex
What's a reproducible example?