arshesander
Jun 12th, 2007, 08:27 PM
how to compute age base on age; i do this code but it doesnt work;
int age;
DateTime bday;
DateTime cdate;
bday = DateTimePicker1.Value;
cdate = DateTimePicker2.Today;
age = cdate - bday;
int age;
DateTime bday;
DateTime cdate;
bday = DateTimePicker1.Value;
cdate = DateTimePicker2.Today;
age = cdate - bday;