Insight Hour Format

How can we convert the Run Time In Seconds into hour Format or minutes format using Insight (I have attached pdf of it) ?

Hour Format.pdf

Hi @anmita ,
Try below logic to get the hour or minutes

TimeSpan t = TimeSpan.FromSeconds(90);

Console.WriteLine(t.Hours);

Console.WriteLine(t.Minutes);

Console.WriteLine(t.Seconds);

Console.WriteLine(t.ToString());

Regards,
Arivu

Thanks @arivu96 for the Reference
The thing is that this logic cannot be implemented while making use of widget so is there some other way it could be implemented

Regards,
@anmita

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.