How to get the minutes form the current date in JavaScript

1 Answer

0 votes
<script type="text/JavaScript">   

var today = new Date();
var minutes = today.getMinutes();

document.write(minutes);


/*
run:

50    

*/

</script>

 



answered May 30, 2016 by avibootz
...