Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
5
Answers
convert days to months
padmapriya patruni
9y
592
1
Reply
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
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
Interface cannot contain fields in WCF
limit of transfer data to json