Results 1 to 4 of 4

Thread: Age - Calculator

  1. #1

    Thread Starter
    Addicted Member Stick's Avatar
    Join Date
    Aug 1999
    Location
    Iowa
    Posts
    152

    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

  2. #2
    Lively Member
    Join Date
    Nov 2003
    Location
    Iowa
    Posts
    96
    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!

  3. #3

    Thread Starter
    Addicted Member Stick's Avatar
    Join Date
    Aug 1999
    Location
    Iowa
    Posts
    152

    What is the calculations i need to do and such

    I want to know the years months and days they have been alive

  4. #4
    Frenzied Member MrGTI's Avatar
    Join Date
    Oct 2000
    Location
    Ontario, Canada
    Posts
    1,277

    Wink

    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:
    1. 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
  •  



Click Here to Expand Forum to Full Width