How can i write same this program on visual basic ?

i’m a beginner in programming
i like to write a program same in this link
so i want the code for it

You like to write a program for the same and u want to get code at the same time, contradicting your words, what an irony :-o :-o

Instead of code, I can give you logic so that you can help youself,
just think like a 10 years old boy, if someone ask you, what is your age then what will you do,
you will count number of years from your date of birth to till date ( or the future date), which is nothing but you are taking difference between two dates,

Just like if I ask you how many numbers are there in between 1 to 10 that is nothing but the difference between 10 and 1 i.e., 9

for yyyy-mm-dd format

substract dd(date of birth) from dd(todays date) only,

mm from mm only

and yyyy from yyyy just like simple substraction.

if suppose todays date is 12 sept 2013
and date of birth is 31 aug 1992
how will you deduct 31 from 12 then you will need carry, borrow one month from mm i.e., 30 days and now you can substract 31 from 42(12+30). same with year and month and you will get your age in years, months and days, convert year into month and days for age in days or months accordingly.

Hope You got my words.

Thank you and all the best :slight_smile: