posted 18 years ago
Hi all,
I have a textfield, in which the user enters his day of birth (in dd/mm/yy format). I would like to calculate the age of user when he enters this.
1. getCurrentDate
2. format it in order to be same with the textfield
3. substract
Is it right? or what is the best way to do this?
Thanks for any help