Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
6
Reply
Compare date only and find the difference
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Vignesh Kumar
7y
266
1
Reply
Hi,
I have a string and say for ex: 30-10-2016 in a string. Now how can I compare this date with today's date only and find the difference.
I am unable to use TimeSpan too because I 'm unable to get date only using datetime.
Todays date would be 27-10-2016
I need to find the difference between these two dates 30-10-2016 - 27-10-2016.
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
c# Linq: Dependency Inject
not passing values