PM Limited

Welcome to PM-limited

Calculate minutes in proper Time format.

Minutes time format E.g : such as 396 minutes = 6 hours and 36 minutes this is the proper time format of 396 minutes.

You can easily calculate minutes in hours and minutes format. Learn JavaScript HTML code of minutes calculater.


Convert minutes to satisfied time format.

Minutes Calculator Online Tools

Type Minutes


Minutes to hours and minutes.



It will be very helpful for us if you share our website with your friends.

Make minutes Calculator using HTML JavaScript code.

Here,We created a Minutes Calculator tool with HTML,JavaScript code solutions.Learn how to convert minutes to proper time format in a fully detailed with simple JavaScript code.


Use the below mentioned javaScript and HTML code for the minute calculator online tool.

Full code of Minutes to hours calculate.
  
 <!--- www.pmlimited-service.com --->
 
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> Minutes Calculator Tool </title>

<style>
h1{background-color:#347ab6;
color:white;
padding:3px;
text-shadow:0 0 5px #aaa;}
h3{color:#347ab6;
padding:3px;
text-shadow:0 0 5px #aaa;}
button{
padding:9px;
cursor:pointer;
float:right;
border:1px solid black;}
.clear{
margin-top: 30px;
margin-right:3px;
display: flex;
justify-content: center;
align-items: center;
width: 100px;
height: 100px;
color: white;
font-weight: bold;
font-family: Arial;
background: #347ab6;
border-radius: 50%;
box-shadow: 0 4px #999;
}
.clear:active{ background-color: #347ab6;
  box-shadow: 0 1px #666;
  transform: translateY(3px);
}

</style>

</head>
<body>

<h1>PM-Limited Minutes  Calculator </h1>

<b>Type Minutes </b> 
<br>
<input type="number" value="310"  id="m" />
<br>
<button onclick="calculate()">
Calculate   </button>
<br>
<h3>Minutes to hours and minutes.</h3>
<textarea cols="21" rows="9" id="h" >
</textarea>

<button  onclick="clearAll()" 
class="clear" >Clear all</button>

 
<!--- JavaScript--->

<script type="text/javascript">
function calculate(){
var m=document.getElementById("m").value;
var d = eval(m/60);
var hours= parseInt(d);

var df= d-hours ;
var minutes= df*60;
var FixMints= minutes.toFixed();

var ans=document.getElementById("h");
ans.value=m+" Minutes = "+hours+" hours and "+FixMints+" minutes."

}
function clearAll() {
document.getElementById("m").value;
document.getElementById("h").value=""
}
</script>
</body>

</html>


TagLine: Convert minutes to hours & minute format. Minutes calculate to proper time format with simple code.


If have any question or need any JavaScript code solutions so tell in contact us section.
Previous Post Next Post