Dim time As String = "08:00:00"
Dim ts As TimeSpan = TimeSpan.Parse(time)
Dim mark As String = ts.ToString("hh\:mm")
Open in new window
IT issues often require a personalized solution. With Ask the Experts™, submit your questions to our certified professionals and receive unlimited, customized solutions that work for you.