5
Reply

convert days to months

padmapriya patruni

padmapriya patruni

Oct 29 2015 8:07 AM
567
hi all
 
i have the problem regarding  convert days to months plz help me
 
this is code
 
DateTime CurrentDate = DateTime.Now;
DateTime dateOfJoin = (DateTime)employeDetails.DateOfJoin;
TimeSpan ts = CurrentDate - dateOfJoin;
int days= ts.Days;
 i need to show this days  in months
 
plz help me 
 

Upload Source Code  Select only zip and rar file.
Answers (5)