Sandeep's Nook: JavaScript Page

Age Calculator

Below is the Age Calculator script that can be used to find out one's age. Users have just to type in their full date of birth and the script will tell them their age. Type in the Month you were born, the Date and the Year in the format shown. Then to find your age just click the Get Age button. Clicking the button will result in your age being shown in Years, Months and Days.

MM:    DD:    YYYY:

Years
Months
Days

Author: Sandeep Gangadharan
Home Page: http://www.sivamdesign.com/home/


The script is given below:

This goes in the HEAD of the html file:


This goes in the BODY of the html file: