Dears,
how to calculate work experience with TimeSpan or otherwise how to calculate work experience if all months of the year have 31 days?
gogs85
0
Junior Poster in Training
Recommended Answers
Jump to PostYour question is a little vague on details, but you could initialize a new TimeSpan:
TimeSpan span = new TimeSpan();
Then iterate through your list of hours and add them as a new TimeSpan:
span += new TimeSpan(hours, minutes, seconds);
I don't understand what …
All 2 Replies
Reply to this topic
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.