Age Calculator Online with Date of Birth

banner

About Age Calculator

Age Calculator Online is one of the best tool to calculate your age online with help of Date of Birth.

Calculate Your Age

Date

Month

Year

How to use Age Calculator:

This tool is very simple to use as detailed below:

  • First you need input your day,month and year according to date of birth of person you want to findout.
  • Then Click on Submit button to know the age of given person’s age.
  • You will be shown Age as you desired.

.button { margin-top: 40px; margin-bottom: 20px; } base{ margin-left: 20px; } .container { text-align: center; } .howto { text-align: left; } #button { background-color: #236ab0; } #date,#month,#year { color: #07315c; } .base{ width: 100%; margin: 0; overflow: hidden; display: block; float: none; } function age() { var d1 = document.getElementById(‘date’).value; var m1 = document.getElementById(‘month’).value; var y1 = document.getElementById(‘year’).value; var date = new Date(); var d2 = date.getDate(); var m2 = 1 + date.getMonth(); var y2 = date.getFullYear(); var month = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; if (d1 > d2) { d2 = d2 + month[m2 - 1]; m2 = m2 - 1; } if (m1 > m2) { m2 = m2 + 12; y2 = y2 - 1; } var d = d2 - d1; var m = m2 - m1; var y = y2 - y1; document.getElementById(‘age’).innerHTML = ‘Your Age is ’ + y + ’ Years ’ + m + ’ Months ’ + d + ’ Days’; }