|
-
Jan 12th, 2004, 07:25 PM
#1
Thread Starter
Addicted Member
Age - Calculator
Hey,
How would you go about finding the age of someone if the entered the year and month and day they were born,
How would you return the. Years Months and days that they have been alive.
any sample programs would be great
Thanks
ssean
-
Jan 12th, 2004, 08:12 PM
#2
Lively Member
VB.Net? Just use the calendar given...I made a program like this once but it's at school, I can get it for you tommorow if you have another quetsion
It is like wiping your ass with silk, I love it!
-
Jan 12th, 2004, 09:57 PM
#3
Thread Starter
Addicted Member
What is the calculations i need to do and such
I want to know the years months and days they have been alive
-
Jan 13th, 2004, 01:33 PM
#4
Frenzied Member
Most of that is just plain math. And it looks like homework. 
But you can use this to determine how many days in a particular month:
VB Code:
Dim iNumDays As Integer = System.DateTime.DaysInMonth(iYear, iMonth)
~Peter

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
|