|
-
Jun 12th, 2007, 08:27 PM
#1
Thread Starter
Fanatic Member
[2.0] computing age by date
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;
-
Jun 13th, 2007, 06:02 AM
#2
Re: [2.0] computing age by date
-
Jun 15th, 2007, 04:32 AM
#3
Re: [2.0] computing age by date
remember that
Code:
DateTime - DateTime = TimeSpan
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|