I want to return a person's age, in years, given the birth date. I have a text box where the age lies:
text1.text = 24.2.89
And i want to retrieve her age.
The code i'm using returns stupid ages (ex: -354)
Here goes my code:
Label1.Caption = Int(DateDiff("y", CDate(Text1.Text), Date) / 365.25)
Can anyone help, please?
0 · ·