krkarthik_info
8 years agoFrequent Contributor
Is there any internal method to convert hh:mm:ss to seconds
Hi, I am using StopWatch object to measure the time taken to open a file in my test application. StopWatch.toString() method returns the time taken in the string format hh:mm:ss. I wanted to...
- 8 years ago
StopWatch.Split() or StopWatch.Stop() both return the elapsed time as an integer of milliseconds. Take that number, divide by 1000 and convert to a string and you have your number of seconds.