Good day.
Let's say part of the registration process on my website includes your date of birth. I want to be able to show that users age.
How do I do this?
I am having the following problem:
Lets say the users DOB is 15-Aug-1978. My first thought was to just subtract the DOB from the current date. But NNNOOO!
I get 26. It should be 25 until Sunday. How do I work around this. Any help would be most appreciated.
Thank you.
Let's say part of the registration process on my website includes your date of birth. I want to be able to show that users age.
How do I do this?
I am having the following problem:
Lets say the users DOB is 15-Aug-1978. My first thought was to just subtract the DOB from the current date. But NNNOOO!
I get 26. It should be 25 until Sunday. How do I work around this. Any help would be most appreciated.
Thank you.