<!DOCTYPE html>
<html>
<head>
<title>il metodo getMinutes() in JavaScript</title>
<script type="text/javascript">
var oggi = new Date();
var minutiOggi = oggi.getMinutes();
document.write("<p>I minuti dell'orario in questo momento sono " + minutiOggi + "</p>");
var timestamp = new Date(390655800000);
var minutiTimestamp = timestamp.getMinutes();
document.write("<p>I minuti dell'orario corrispondente a questo timestamp in millisecondi è " + minutiTimestamp + "</p>");
</script>
</head>
<body>
</body>
</html>