In my vb.net code is there a way to convert it from hh:mm:ss to days format. Like if input is “05:06:07” then output should be “0.212581018518519”. Basically it converts the total seconds to days.
Please suggest if .net provides me with a build-in method to achieve the same.
Thanks!
Have a look at the System.TimeSpan type.
You want to parse the string into a timespan and then look at the TotalDays property.