Age calculator tool script: chek how old you

age calculator tool script

Β age Calculator Tool: Apni age Kaise Jane

Kya aapko kabhi bhi yeh sochna pada hai ki aapki age kya hai? Ya phir kisi event ya occasion ke liye apni age ka pata karna hai? age calculator tool aapki madad kar sakta hai! Is tool ke zariye aap aasani se apni age ka pata laga sakte hain, bas kuch hi seconds mein. Chaliye dekhte hain kaise!


Chek this tool

Age Calculator

Date

Month

Year

age Calculator Tool Kya Hai?

age calculator ek aisa online tool hai jo aapki janm tithi ko lekar aapki age ka pata lagata hai. Is tool ke istemal se aap bina kisi mushkilayat ke apni age ko calculate kar sakte hain. Yeh tool aam taur par saal, mahina aur din mein age ko calculate karta hai.


age Calculator Tool Ka Istemal Kaise Karein?

  1. Janm Tithi Daalein: Sabse pehle, aapko janm tithi daalni hogi. Isme aapko apne janm ke saal, mahina aur din ko daalna hoga.
  2. Calculate Par Click Karein: Janm tithi daalne ke baad, "Calculate" ya "Check" jaisa button hoga, us par click karein.
  3. age Jaane: Bas, kuch hi seconds mein aapki age aapke samne hoga!

script code

<style>
.base{
	overflow: hidden;
	display: flex;
	flex-direction: column;
	float: none;
}
.block{
	padding: 5px 20px;
	margin-left: 20px;
	display: inline-block;
	float: left;
}


input[type=text] {
	margin: auto;
	outline: none;
  min-height: 20px;
	border: 2px solid #1073d0;
	padding: 12px;
	border-radius: 7px;
  font-size: 17px;
}
input[type=text]:focus{
	background-color: #ffffff;
	border: 2px solid orange;
	outline: none;
}
input[type=button]{
	width: 100px;
	margin-left: 35%;
  margin-top: 20px;
	outline: none;
	border: none;
	border-radius: 6px;
	background-color: crimson;
	color: #ffffff;
	padding: 10px 20px;
	text-align: center;
  
	font-size: 16px;
}
input[type=button]:hover{
	background-color: #003669;
}
 
#age{
	display: block;
	margin: 10px;
  margin-top: 35px;
	padding: 10px;
  padding-bottom: 20px;
	overflow: hidden;
	font-family: verdana;
	font-size: 19px;
	font-weight: normal;
	line-height: 1.5;
	word-spacing: 2.7px;

}
  </style>
</head>
<body>

<div class="contaier">
  <form>
  	<div class="base">
  		<div class="enter">
  		<h2>Age Calculator</h2>
  	</div>
  <div class="block">
  	<p class="title">Date</p>
  	<input type="text" name="date" id="date" placeholder="dd" required="required" minlength="1" maxlength="2" />
  </div>
  <div class="block">
  	<p class="title">Month</p>
    <input type="text" name="month" id="month" placeholder="mm" required="required" minlength="1" maxlength="2" />
  </div>
  <div class="block">
  	<p class="title">Year</p>
    <input type="text" name="year" id="year" placeholder="yyyy" required="required" minlength="4" maxlength="4" />
  </div>
  </div>
  <div class="base">
  	<div class="enter">
    <input type="button" name="submit" value="Submit" onclick="age()" />
    </div>
  </div>
    <div id="age"></div>
  </form>
</div>
<script type="text/javascript">
  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';
}
</script>
<body>
<html>

age Calculator Tool Ke Fayde:


  1. Teji se age Ka Pata: Is tool ke istemal se aap teji se apni age ka pata laga sakte hain, bina kisi complex calculations ke.
  2. Kisi Bhi Waqt Istemal Karein: Yeh tool kabhi bhi aur kahin bhi istemal kar sakte hain, sirf internet ki zaroorat hogi.
  3. Practical Aur Useful: age calculator tool aapke daily life mein bahut hi practical aur useful sabit ho sakta hai, chahe aap kisi occasion ke liye apni age ka pata lagana chahte hain ya phir kisi form ya application ke liye.

Toh kyun na aaj hi is amazing tool ka istemal karein aur apni age ka pata lagayein! Jee haan, aap bhi is tool ka istemal karke apni age ko jaan sakte hain. Bas ek click aur aapko aapki age pata chal jayegi!


Next Post Previous Post
No Comment
Add Comment
comment url

Paid Templates

Blogger themes

Movie theme

codes for blogger

Grafix Material