-
Jul 21st, 2014, 08:57 PM
#1
Thread Starter
Registered User
Problem on Getting Time Duration from Listview
HI Guys,
I need some help here
I have a listview and i need to get the duration depending on the result.
I really need to solve it.
Thanks,
k
-
Jul 22nd, 2014, 12:40 AM
#2
Re: Problem on Getting Time Duration from Listview
Are you saying, without actually saying, that you need to subtract one date/time from the other date/time for each item? If so then you would obviously start with a loop; probably a For Each loop. You can then use Date.Parse and TimeSpan.Parse to to convert the Text of the appropriate subitems to Dates and TimeSpans respectively. You can then add each TimeSpan to the corresponding Date and subtract one result from the other. That will give you another TimeSpan that represents the difference. Do with that what you will.
-
Jul 22nd, 2014, 05:52 AM
#3
Re: Problem on Getting Time Duration from Listview
The heck? How is this different from your original thread?
http://www.vbforums.com/showthread.p...w-using-vb-net
And depending on what result?
-tg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|