DateTime

Mar 19 2007 1:06 PM

Can anyone help: I'm trying to get the number of days entering my finish date. I'm getting an error passing the Year, Month, Day. I'm using academic visual studio 2003 c#

System.DateTime dtmStartDate = new System.DateTime(2007,1,1);

System.DateTime dtmFinishDate = new System.DateTime(dtmFinishDate.Year, dtmFinishDate.Month, dtmFinishDate.Day);

System.TimeSpan intDays=dtmFinishDate.Subtract(dtmStartDate);

txtDays.Text=Convert.ToString( intDays );