Skip to main content

Age Calculator



More information about your age

Total Years: 00
Total Months: 00
Total Weeks: 00
Total Days: 00
Total Hours: 00
Total Minutes: 00
Total Seconds: 00

Are you curious about how old you are in days, months, or years? Use our free age calculator tool to find out! This online tool is easy to use and provides accurate results.

Why Use Our Age Calculator?

Our age calculator is a useful tool that can help you determine your age in various units, including days, months, and years. You may want to use this tool for various reasons:

  • To determine your exact age on a specific date
  • To calculate the age difference between two people
  • To find out your age in months or days

How to Use Our Age Calculator

Using our age calculator tool is easy. Follow these simple steps:

  1. Select your birthdate from the calendar
  2. Select the current date from the calendar or enter it manually
  3. Click on the "Calculate Age" button

Our tool will then calculate your age in years, months, days, hours, minutes, and seconds. You can also see your age in months and days only.

var inputtoday = document.getElementById('ageDate'); var d = new Date(); var nowmonth = d.getMonth() + 1; var nowdate = d.getDate(); var nowyear = d.getFullYear(); var dateStr = nowdate + "/" + nowmonth + "/" + nowyear; inputtoday.value = dateStr; function formatDateInput(input) { // Get input value and remove non-numeric characters let value = input.value.replace(/\D/g, ''); // Format value as dd/mm/yyyy if (value.length > 4) { value = value.slice(0, 2) + '/' + value.slice(2, 4) + '/' + value.slice(4, 8); } else if (value.length > 2) { value = value.slice(0, 2) + '/' + value.slice(2, 4); } // Update input value input.value = value; } function calculateAge() { // Get input values as dates let dob = new Date(document.getElementById('dob').value); let ageDate = new Date(document.getElementById('ageDate').value); // If age date is not specified, use today's date if (isNaN(ageDate.getTime())) { ageDate = new Date(); } // Calculate age in years, months, and days let ageInMs = ageDate - dob; let ageInDays = ageInMs / (1000 * 60 * 60 * 24); let ageInYears = Math.floor(ageInDays / 365); let ageInMonths = Math.floor((ageInDays % 365) / 30); let ageInDaysLeft = Math.floor((ageInDays % 365) % 30); // Display age let age = document.getElementById('age'); age.innerHTML = "Your age is: " + ageInYears + " years, " + ageInMonths + " months, " + ageInDaysLeft + " days."; document.getElementById("total-years").innerHTML = Math.floor((ageDate - (dob)) / 1000 / 86400 / 365); document.getElementById("total-months").innerHTML = Math.floor((ageDate - (dob)) / 1000 / 86400 / 365 * 12); document.getElementById("total-weeks").innerHTML = Math.floor((ageDate - (dob)) / 1000 / 86400 / 7); var tvds = Math.floor((ageDate - (dob)) / 1000 / 86400); document.getElementById("total-days").innerHTML = tvds; document.getElementById("total-hours").innerHTML = Math.floor(tvds * 24); document.getElementById("total-minutes").innerHTML = Math.floor(tvds * 24 * 60); document.getElementById("total-seconds").innerHTML = Math.floor(tvds * 24 * 60 * 60); }

Popular posts from this blog

Ambli Pin Code - Daskroi, Ahmedabad, Gujarat

Ambli B.O Post office Pin Code - Daskroi~ Ahmedabad~ GUJARAT. Get Information like Contact No.~ Pincode~ Delvery status~ Office type. PIN Code: 380058 Office Name Ambli B.O PIN Code 380058 Taluk Daskroi District Ahmedabad State GUJARAT Country India Contact No. NA Office type B.O Delivery status Delivery Related sub office Bopal S.O Related Head office Navrangpura H.O FAQs - Ambli What is the Pin Code of Ambli? The Pin Code of Ambli Pin Code - Ahmedabad~ GUJARAT is 380058. What is the address associated with Pin Code 380058? The address associated with 380058 is Ambli B.O~ Daskroi~ Ahmedabad~ GUJARAT~ India. What is the contact number of the Ambli Post Office? Contact Number of Ambli B.O post office is NA. Pincode Search tool State Name GUJARAT &#8634 City/District Name Ahmedabad &#8634 Postoffice Name Ambli &#8634 Find IFSC Code easily using this simple tool. First of all select your bank~ state and city. Finally click on your bank branch to find IFSC Code. ...

150+ GYM Status & Motivation Quotes

Sometimes it's hard to stay motivated to go to the gym and work towards your fitness goals. Gym status and quotes are short and powerful messages that can help you stay focused and committed to your goals. They come from a variety of sources, including famous athletes and fitness experts, and can provide inspiration to overcome challenges and succeed in your fitness journey. By keeping these quotes in mind, you can tap into a powerful source of motivation to help you stay on track and achieve your goals. Gym status messages can be a great way to share your fitness journey with your friends and family. Here are some gym status & quotes ideas: "The pain of today is the victory of tomorrow." "Obsession is what lazy people call dedication." "The only disability in life is a bad attitude." "There are so many people out there who will tell you that you can't. What you've got to do is to turn around and say, watch me." "Pain is ...

Aalekh Name Meaning

In Hindi, Aalekh means Picture, Painting. It's a great choice for parents seeking a strong and unique name for their Boy. Aalekh Name Meaning: Picture, Painting Letter A Name Aalekh Gender Boy Meaning Picture, Painting, writing, inscription  Origin Indian Religion Hindu Name length: 6 Syllables 2 Numerology 2 Aalekh is a Sanskrit name that means "writing" or "inscription." It is a name that is often given to boys who are believed to have a strong artistic or creative side. This name is also associated with the Hindu god Lord Brahma, who is considered the creator of the universe and the master of all arts and sciences. People with the name Aalekh are thought to be imaginative, artistic, and thoughtful, with a natural ability to express themselves through words and images. Similar Names to Aalekh Aalhad Aatherv Amber Aachalendra Adhesh Adhish Ashish Avi Aadijay Aaditya Adithya Aditya Alaap Aadesh Aalekh Aalok Amalesh Names with Similar Meaning Aadavan Adharsh Adi...