Hi,
What is the best way to calculate from string like: "13:19:56" (13 is hours, 19 is minutes and 56 is seconds) the total minutes? (13*60 1+19)
How to convert time to minutes?
Re: How to convert time to minutes?
Hi,
You can for example use code like this:
You can for example use code like this:
Code: Select all
string time = "13:19:56";
double minutes = TimeSpan.Parse(time).TotalMinutes;
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration