DateTime dob = new DateTime(); dob = DateTime.Parse(txtdob.Text, Cul, System.Globalization.DateTimeStyles.NoCurrentDateDefault); DateTime doa = new DateTime(); doa = DateTime.Parse(txtdoa.Text, Cul, System.Globalization.DateTimeStyles.NoCurrentDateDefault);
dob.Subtract(doa)
Integer ts ts = DateDiff(DateInterval.Day, doa, dob) ;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)