This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.

Smartphone icons created by Freepik - Flaticon

JS setMinutes()

The setMinutes() method sets the minutes of a date object (0-59):

const d = new Date();
d.setMinutes(30);
document.getElementById("demo").innerHTML = d;