<!DOCTYPE html>
<html>
<body>
<p>Click the button to display the date after setting the time to be 90 minutes ago.</p>
<button onclick="myFunction()">Try it</button>
<p id="demo"></p>
<script>
function myFunction() {
var d = new Date();
d.setMinutes(d.getMinutes() - 90);
document.getElementById("demo").innerHTML=d;
}
</script>
</body>
</html>