Calculate Date Difference
Hi Friends I want to calculate difference between two dates accepted from calender control
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Suvendu Shekhar GiriPosted Feb 22, 2017, 5:15 AM
kishor chourePosted Feb 22, 2017, 6:49 AM
Rafnas T PPosted Feb 22, 2017, 6:20 AM
double totalDays= Diff .TotalDays;
int days=Diff .Days;
or
(Convert.ToDateTime(EndCalender.Date)- Convert.ToDateTime(StartCalender.Date)).TotalDays
Gnanavel SekarPosted Feb 22, 2017, 5:29 AM