Hi,
how to figure out age from years? for example.
read -p "welcome to LinuxQuestions.org.. Please enter your date of birth:" 19850409
echo "you are 22 years and 3 months old!"
i use YYYMMDD formate.
I use 'date -d ....' not sure..
I separated year, month and day so no worries about it.Only thing i can't figured it out is person age from date year
Thanks