TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vignesh Kumar
NA
1k
416.4k
Compare date only and find the difference
Oct 27 2016 1:06 AM
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.
Reply
Answers (
6
)
c# Linq: Dependency Inject
not passing values