By N Aravind
This project is an age calculator developed using java. This project takes input from the user and compares it with the current date to calculate the age.
This project mainly comprises a method in which the date is taken from the local computer. In this, the user provides a string input after which the input gets converted to a date format.
This system will automatically integrate with server date and time or your local system, and information will be provided in the format of years, months, and days.
The modules used in the function are:
1.SimpleDateFormat
2. Local Date
3. Calendar
Input Format: "YYYY/MM/DD" gets converted to DATE
Output Format: Your Age: 10 Years 4 Months 5 Days
Submitted by N Aravind (aravindnar)
Download packets of source code on Coders Packet
Comments