Check out example codes for "format float to time c#". It will help you in understanding the concepts better.

Code Example 1

using System;

class Test
{
    static void Main()
    {
        float totalSeconds = 228.10803f;
        TimeSpan time = TimeSpan.FromSeconds(totalSeconds);
        Console.WriteLine(time.ToString("hh':'mm':'ss")); // 00:03:48
    }
}

Learn ReactJs, React Native from akashmittal.com