i have users signing up entering their birth date, and the application saves the birthdate as yyyy-MM-dd.
How can I use this along with java code to determine the persons age?
Is there a way to convert this to days, and use that to determine the difference? Or is there a better way to go about this
EDIT
The main problem I am having is using the date as it is currently formatted, to be able to convert it. It is being pulled via an API call from a database that saves it in that format. I have seen ways using Joda to convert, but thats using a different format