Hi! I was trying to make time conversion to words ex. 01:20:00 = 1 hour and 20 minutes
Please help.
Printable View
Hi! I was trying to make time conversion to words ex. 01:20:00 = 1 hour and 20 minutes
Please help.
try this:
vb.net Code:
Dim ts As TimeSpan = TimeSpan.Parse("01:20:00") MsgBox(String.Format("{0} hours, {1} minutes, {2} seconds", ts.Hours, ts.Minutes, ts.Seconds))
Thanks paul... working fine I made some modification base on my code functionality. thank you.