How can I calculate the number of days between two dates in C#?
I'm using following code to to generate the days.
private void Days()
{
lbl_borroweddate.Text = DateTime.Today.ToShortDateString();
lbl_duedate.Text = DateTime.Today.AddDays(14).ToShortDateString();
}