10+ JavaScript Age Calculator Script
Age Calculator Script – Are you looking for Age Calculator Script, If yes then in this post I am going to share hand-picked Age Calculator Script for you. These all example are small yet useful Age Calculator written in jQuery that automatically calculates someone’s age based on the Date of Birth you provide. Age is very very common, the user will have to enter the date of birth and script need to calculate the age based on the date of birth. You can use these Age Calculator Script in your next web based projects.
Age Calculator Script
Following are the list of Age Calculator Script.
PHP Age Calculator Script
<?php function getAge($dob) { $today = date("Y-m-d"); $diff = date_diff(date_create($dob), date_create($today)); return $diff->format('%yYears, %mMonths, %dDays'); } echo getAge('19-10-1988'); ?> |
JavaScript Age Calculator
function getAge(d1, d2){ d2 = d2 || new Date(); var diff = d2.getTime() - d1.getTime(); return Math.floor(diff / (1000 * 60 * 60 * 24 * 365.25)); } alert(getAge(new Date(1988, 10, 19))); |
Age Calculator – JavaScript –
Age Calculator – JavaScript script made with HTML / CSS / JS and written By Rohit Kumar.
Age Calculator – DEMO
– By tcraft
Age calculator – DEMO
– By urketadic
AGE CALCULATE – DEMO
– By acitjazz
Live Age Calculator – DEMO
– By nikma
Age Calculator – DEMO
– By dbetances
Exact Age Calculator – DEMO
– By Codeman12323
Age Calculator – DEMO
– By Hanapotski
Age calculator – DEMO
– By ManalHamad
Age Calculator – DEMO
– By vahin
JS – age calculator test – DEMO
– By kimwsc
Age Calculator JS – DEMO
– By NouranS96
React Age Calculator – DEMO
A simple age calculator to calculate the age. This calculator is not 100% accurate! – By hardik-chaudhary
I Hope you liked Hand-picked list of Age Calculator Script, Don’t forget to Subscribe My Public Notebook for more useful Hand-picked HTML and CSS code examples, tutorials and articles.