I´m trying to create a code that adds some time (let´s say half an hour) to the current time. I could withdraw current time, but struggle to add the time to it. This is how the code looks so far:
<script>
var dt = new Date();
document.getElementById("datetime").innerHTML = dt.toLocaleTimeString('en', {hour: 'numeric',minute: 'numeric',});
</script>
What could be the possible solution? I am very new to this, so every input is appreciated!