Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Friends I am creating a application for my collage project and i need to put a function the calculate our age by the calculating the System Date and Birth Date. But i don't know that how to use date and time picker so i want to know that how to use it. if any buddy know about it so pleas tell me that, how to retrieve System date and how to separate them in int format, and how to get date from the control, like we get text from EditText by using getText() method like that...

if the solution is long or you have any confusion about my question so please E-mail me on ankit1327@hotmail.com please please help me to complete my project.
Posted

1 solution

 
Share this answer
 
Comments
Ankit Torino (Dom) 23-Feb-15 12:37pm    
You don't think that the answer is toooooooooooooo short....?
Richard MacCutchan 23-Feb-15 12:50pm    
No the answer is in that link. Go and study it.
Frankie-C 23-Feb-15 15:59pm    
Not a good idea post your email...
Richard MacCutchan 24-Feb-15 3:23am    
I didn't. You posted that comment in the wrong place.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900