how to calculate work experience with TimeSpan or otherwise how to calculate work experience if all months of the year have 31 days?
Jump to Post
Your 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
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.