0

How to Get Difference between frommonth with fromyear compared to tomonth with toyear....
For instance one has work experience with frommonth March and fromyear 2006 and tomonth June and fromyear 2007 duration should be 1 year and 3 months...Also there would be multiple work experience with various durations as mentioned... Then all must be summed together...I want to show in months if less than one year

2
Contributors
1
Reply
6
Views
3 Years
Discussion Span
Last Post by cxzei
0

Assumming VB.Net do something like...
Dim myTimespan As TimeSpan = Date1 - Date1, or
Dim myTimeSpan As TimeSpan = Date.Now.Subtract(myStartTime)

then you can...

if myTimeSpan.TotalDays > n then do something

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.