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
Printable View
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
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
I want to know the years months and days they have been alive
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)