hi,
i have three text boxes tb1 has timeIn tb2 has TimeOut and i have a Button which shows the time duration between them i have used time diffrence method bt it is unable to calculate the duration it only gives the difference which create problem when time is greater than 24 hrs
de Source
0
Light Poster
Recommended Answers
Jump to PostYou can use a TimeSpan
Jump to PostAbove poster is correct use a timespan. Here is an example.
Timespan ts = DateTime1 - DateTime2;
All 6 Replies
thines01
401
Postaholic
Team Colleague
Featured Poster
jbrock31
11
Junior Poster in Training
Mitja Bonca
557
Nearly a Posting Maven
de Source
0
Light Poster
Mitja Bonca
557
Nearly a Posting Maven
darko444
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.