TimeSpan dtDiff = dtEnd.Value.Subtract(dtStart.Value); int iDiffValue = dtDiff.Days;
NumLeaves.Text = DateTime.Compare(date1, date2).ToString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)