Could someone help me with this. I need to finish something for a schoolproject which we are displaying tonight and I have to subtract 2 hours from this code. Javascript is totally not my thing.
<a href="urltopage.php"><span id="datetime"></span></a>
<script>
var dt = new Date();
document.getElementById("datetime").innerHTML = dt.toLocaleString();
</script>
I have no idea how to change this. Thanks in advance.
Regards, Justin