I was going to make a simple program for calcualting one's age.
I have made it . The user have to insert his date of birth and also current date(today's date)..
but i want to calculate it without entering today's date by the user.
I think to do that I have to take the system date.
but I don't know how to do that.
Please help.
I have made it . The user have to insert his date of birth and also current date(today's date)..
but i want to calculate it without entering today's date by the user.
I think to do that I have to take the system date.
but I don't know how to do that.
Please help.
Comment